@Override
    public void destroy(boolean waitFor) {
        needClose.set(true);
        if (waitFor) waitFor(false);
    }
Accesses the listener that receives events related to this context.

@return the pre-existing instance
jme3-core/src/main/java/com/jme3/system/NullContext.java