fix(core): Cancel async jobs on exit
This commit is contained in:
parent
1b99526c6d
commit
6b78ef8584
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ JobExecutor::~JobExecutor() {
|
|||
}
|
||||
|
||||
void JobExecutor::deinit() {
|
||||
_cancel = true;
|
||||
_pool.join();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue