code: @Override
      public void unregisterObject(Object object) {
          if (object instanceof IContextEvent) {
              for (IManagedContext<?> managedContext : managedContexts) {
                  managedContext.removeSubscriber((IContextEvent) object);
              }
          }
  
          if (object instanceof IManagedContext) {
              managedContexts.remove(object);
          }
      }
docs: Unregister an object from the context manager.
  
  @param object Object to unregister.