code: public void unregisterBasicScope(IBasicScope basicScope) {
          if (basicScope instanceof IBroadcastScope || basicScope instanceof SharedObjectScope) {
              basicScopes.remove(basicScope);
              basicScope.removeEventListener(this);
          }
      }
docs: Unregister basic scope
  
  @param basicScope
  Unregister basic scope