public synchronized void release(){
  if (eventQueue != null) {
    eventQueue.clear();
    eventQueue=null;
  }
  if (controlQueue != null) {
    controlQueue.clear();
    controlQueue=null;
  }
  if (watchPredicates != null) {
    watchPredicates.clear();
    watchPredicates=null;
  }
}

public synchronized void release ( ) { if ( eventQueue != null ) { eventQueue . clear ( ) ; eventQueue = null ; } if ( controlQueue != null ) { controlQueue . clear ( ) ; controlQueue = null ; } if ( watchPredicates != null ) { watchPredicates . clear ( ) ; watchPredicates = null ; } }
frees resources including all queues and lists .
