fix crt mutex unlock exception on exit
If you configure project with: meson --buildtype=release --backend=vs2015 --buildtype=debug build Then you can see there is an exception on exit, then reason is same, see http://stackoverflow.com/a/34121629/3408572 Signed-off-by: atmgnd <atmgnd@outlook.com>
This commit is contained in:
parent
fea45b2d5b
commit
b8cab5ce44
|
@ -37,6 +37,7 @@ void threadproc(void)
|
||||||
strcpy(s, base);
|
strcpy(s, base);
|
||||||
uiQueueMain(sayTime, s);
|
uiQueueMain(sayTime, s);
|
||||||
}
|
}
|
||||||
|
ourlock.unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
int onClosing(uiWindow *w, void *data)
|
int onClosing(uiWindow *w, void *data)
|
||||||
|
|
Loading…
Reference in New Issue