Skip to content

Commit

Permalink
removing thread on python execution
Browse files Browse the repository at this point in the history
  • Loading branch information
diegorubin committed May 26, 2020
1 parent dd50e36 commit 0c512ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/win_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,7 @@ void WinMain::log_work(string hook) {
void WinMain::execute(string hook) {
if (currentTask) {
log_work(hook);
Glib::Threads::Thread::create(
sigc::bind(sigc::mem_fun(this, &WinMain::run_python_script), hook));
run_python_script(hook);
}
}

Expand Down

0 comments on commit 0c512ef

Please sign in to comment.