diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/textadept.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textadept.c b/src/textadept.c index ac9d1967..bcff6fcf 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -88,7 +88,7 @@ typedef GtkWidget Scintilla; INFINITE, NULL); \ HANDLE thread = CreateThread(NULL, 0, &pipe_listener, pipe, 0, NULL); \ gtk_main(); \ - CloseHandle(thread), CloseHandle(pipe); + TerminateThread(thread, 0), CloseHandle(thread), CloseHandle(pipe); #endif #endif |