1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-02-26 08:53:46 +00:00

Fix crash exiting nextpnr gui

This commit is contained in:
Miodrag Milanovic
2018-12-06 08:31:40 +01:00
parent a6315833d3
commit fdb632f24c

View File

@@ -126,6 +126,7 @@ TaskManager::TaskManager() : toTerminate(false), toPause(false)
TaskManager::~TaskManager()
{
log_write_function = nullptr;
if (workerThread.isRunning())
terminate_thread();
workerThread.quit();