Remove test_ipc workaround again.

This commit is contained in:
Florian Bruhin 2015-09-03 06:36:33 +02:00
parent efe40fa7e0
commit f4d2e0746e

View File

@ -140,10 +140,6 @@ class IPCServer(QObject):
@pyqtSlot(int)
def on_error(self, err):
"""Convenience method which calls _socket_error on an error."""
if self._socket is None:
# Sometimes this gets called from stale sockets, especially in
# tests.
return
self._timer.stop()
log.ipc.debug("Socket error {}: {}".format(
self._socket.error(), self._socket.errorString()))