add BT_SetTerminate to all threads

This commit is contained in:
2020-04-24 07:38:28 +02:00
parent 4a1df278d1
commit f041559212
6 changed files with 7 additions and 0 deletions

View File

@@ -1897,6 +1897,7 @@ void Canvas::export_depth(std::string file_name, std::function<void()> on_comple
if (App::I->check_license())
{
std::thread t([=] {
BT_SetTerminate();
export_depth_thread(file_name);
if (on_complete)
on_complete();