def stop(self):
        # stop receiving
        self._in_stream.stop_on_recv()
        self._mgmt.remove_callback(ZMQ_SPYDER_MGMT_WORKER, self._quit)
        # but work on anything we might already have
        self._in_stream.flush()
        self._out_stream.flush()
Stop the worker.
dataset/ETHPy150Open retresco/Spyder/src/spyder/core/worker.py/ZmqWorker.stop