fix(core): Cancel async jobs on exit

This commit is contained in:
Vsevolod Kremianskii 2020-08-04 09:38:54 +07:00
parent 1b99526c6d
commit 6b78ef8584

View file

@ -33,6 +33,7 @@ JobExecutor::~JobExecutor() {
}
void JobExecutor::deinit() {
_cancel = true;
_pool.join();
}