mirror of https://github.com/YosysHQ/nextpnr.git
Fix crash exiting nextpnr gui
This commit is contained in:
parent
a6315833d3
commit
fdb632f24c
|
|
@ -126,6 +126,7 @@ TaskManager::TaskManager() : toTerminate(false), toPause(false)
|
|||
|
||||
TaskManager::~TaskManager()
|
||||
{
|
||||
log_write_function = nullptr;
|
||||
if (workerThread.isRunning())
|
||||
terminate_thread();
|
||||
workerThread.quit();
|
||||
|
|
|
|||
Loading…
Reference in New Issue