Changeset 795 for trunk/src/network/socket
- Timestamp:
- Oct 15, 2010, 5:03:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/network/socket/qlocalserver_os2.cpp
r755 r795 134 134 void QLocalServerPrivate::closeServer() 135 135 { 136 if (-1 != listenSocket) 136 if (-1 != listenSocket) { 137 // stop select()ing on this socket, otherwise close() will hang 138 socketNotifier->setEnabled(false); 137 139 QT_CLOSE(listenSocket); 138 listenSocket = -1; 140 listenSocket = -1; 141 } 139 142 140 143 if (socketNotifier) {
Note:
See TracChangeset
for help on using the changeset viewer.