Details
Description
Let's take a look at
http://qt.gitorious.org/qt/qt/blobs/4.7/src/network/socket/qlocalserver_win.cpp#line170
lines 170 - 172:
q is now in some facy state:
- QLocalServer::isListening() will still return true, because d->serverName is still set with the initial value and
- QLocalServerPrivate::closeServer() will crash, because d->connectionEventNotifier is already set to 0.
In the end, the next call of QLocalServer::close() will crash.
My solution would be to change line 171 to q->close(); (tested)