MCPcopy
hub / github.com/celery/celery / close

Method close

celery/events/dispatcher.py:219–222  ·  view source on GitHub ↗

Close the event dispatcher.

(self)

Source from the content-addressed store, hash-verified

217 self._outbound_buffer.extend(other._outbound_buffer)
218
219 def close(self):
220 """Close the event dispatcher."""
221 self.mutex.locked() and self.mutex.release()
222 self.producer = None
223
224 def _get_publisher(self):
225 return self.producer

Callers 4

__exit__Method · 0.95
disableMethod · 0.95
evcamFunction · 0.45
evdumpFunction · 0.45

Calls 1

releaseMethod · 0.80

Tested by

no test coverage detected