diff --git a/examples/cpp-multithread/main.cpp b/examples/cpp-multithread/main.cpp index f97bc6f2..c8cbaafb 100644 --- a/examples/cpp-multithread/main.cpp +++ b/examples/cpp-multithread/main.cpp @@ -37,6 +37,7 @@ void threadproc(void) strcpy(s, base); uiQueueMain(sayTime, s); } + ourlock.unlock(); } int onClosing(uiWindow *w, void *data)