public synchronized void unregister(String name){
  StreamScope<?> streamScope=byNameMap.remove(name);
  if (streamScope == null)   return;
  List<String> names=byStreamScopeMap.get(streamScope);
  names.remove(name);
  if (names.isEmpty())   byStreamScopeMap.remove(streamScope);
}

public synchronized void unregister ( String name ) { StreamScope < ? > streamScope = byNameMap . remove ( name ) ; if ( streamScope == null ) return ; List < String > names = byStreamScopeMap . get ( streamScope ) ; names . remove ( name ) ; if ( names . isEmpty ( ) ) byStreamScopeMap . remove ( streamScope ) ; }
remove the specific name registration . other registration of the same streamscope may still exist . no - op if name is not registered .
