def unregisterProducer(self):
    if (self._producer is None):
        return
    self._producer = None
def unregisterProducer(self):
    if (self._producer is None):
        return
    self._producer = None