instance.drainSignals(context.debugObject);
instance.drainSignals(context.getDebugObject());
    public void run() {        try {	    boolean ret;	    instance.isActive = true;            ret = init();            while (ret) {                    ret = advance();	    }            System.out.println( "InstanceInterpreter finished" );	    synchronized (instance.instanceInObject) {		    instance.isActive = false;	            if (instance.instanceInObject.getRunningInterpretersRefcount().put()) {	                /**	                 * If this is the last running interpreter, then delete			 * the object from the global object pool (analogous to			 * a delete object action for passive objects)	                 */	                context.delObject( instance.instanceInObject );			instance.instanceInObject.drainSignals(context.debugObject);	            }		    instance.drainSignals(context.debugObject);		    instance.instanceInObject.notifyAll();	    }        } catch ( LemRuntimeException e ) {            e.printStackTrace();        }    }