mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Work around WSAAsyncSelect and WSAEventSelect overlapping on Win32
This commit is contained in:
parent
2b6bad6a23
commit
06fec274dd
@ -245,8 +245,6 @@ void Server::stopThread() {
|
||||
if (isRunning()) {
|
||||
log("Ending voice thread");
|
||||
|
||||
foreach(QSocketNotifier *qsn, qlUdpNotifier)
|
||||
qsn->setEnabled(true);
|
||||
#ifdef Q_OS_UNIX
|
||||
unsigned char val = 0;
|
||||
::write(aiNotify[1], &val, 1);
|
||||
@ -254,6 +252,9 @@ void Server::stopThread() {
|
||||
SetEvent(hNotify);
|
||||
#endif
|
||||
wait();
|
||||
|
||||
foreach(QSocketNotifier *qsn, qlUdpNotifier)
|
||||
qsn->setEnabled(true);
|
||||
}
|
||||
qtTimeout->stop();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user