diff --git a/src/wine-host/individual-host.cpp b/src/wine-host/individual-host.cpp index d7cd8f5a..110c573e 100644 --- a/src/wine-host/individual-host.cpp +++ b/src/wine-host/individual-host.cpp @@ -108,6 +108,10 @@ __cdecl << std::endl; std::cerr << error.what() << std::endl; + // See below, just returning from `main()` isn't enough to terminate the + // process + TerminateProcess(GetCurrentProcess(), 0); + return 1; }