@Override
    public void destroyWorkspace() {
        ensureThreadExistense();

        MemoryWorkspace workspace = backingMap.get().get(MemoryWorkspace.DEFAULT_ID);
        //if (workspace != null)
        //workspace.destroyWorkspace();

        backingMap.get().remove(MemoryWorkspace.DEFAULT_ID);
    }
@ Override public void destroyWorkspace ( ) { ensureThreadExistense ( ) ; MemoryWorkspace workspace = backingMap . get ( ) . get ( MemoryWorkspace . DEFAULT_ID ) ; backingMap . get ( ) . remove ( MemoryWorkspace . DEFAULT_ID ) ; }
This method destroy default workspace, if any