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:
atmgnd 2021-05-14 12:52:03 +08:00
parent fea45b2d5b
commit b8cab5ce44
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ void threadproc(void)
strcpy(s, base);
uiQueueMain(sayTime, s);
}
ourlock.unlock();
}
int onClosing(uiWindow *w, void *data)