code: def unregister(self, shared_object):
          
          if shared_object not in self._shared_objects.keys():
              self.log.warning("Can not unregister shared object %s" % shared_object)
          else:
              del (self._shared_objects[shared_object])
              self.log.debug("Shared object %s got unregistered" % shared_object)
docs: Unregisters an existing shared object, so that this shared object is no longer available.
  
          This function is mainly used during plugin deactivation.
  
          :param shared_object: Name of the shared_object