mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-19 02:48:49 +00:00
Do not delete running tasks (#721)
This commit is contained in:
parent
ce54e4ea8f
commit
4e71b61a8b
@ -12,7 +12,9 @@ R2Task::R2Task(const QString &cmd)
|
||||
|
||||
R2Task::~R2Task()
|
||||
{
|
||||
r_core_task_del(Core()->core(), task->id);
|
||||
// Don't delete current task as it might be still running
|
||||
// Just delete any task that is done.
|
||||
r_core_task_del_all_done(Core()->core());
|
||||
}
|
||||
|
||||
void R2Task::taskFinishedCallback(void *user, char *)
|
||||
|
Loading…
Reference in New Issue
Block a user