diff --git a/src/process.c b/src/process.c index 37ba84b6..1093ea8f 100644 --- a/src/process.c +++ b/src/process.c @@ -127,7 +127,7 @@ DWORD WINAPI controlhandler(DWORD request, DWORD type, LPVOID boe, LPVOID bah) { return ERROR_CALL_NOT_IMPLEMENTED; } - event_loopexit(NULL); + event_exit(); status.dwWaitHint = 30000; status.dwCurrentState = SERVICE_STOP_PENDING; SetServiceStatus(statushandle, &status);