UiApplication.getUiApplication().removeFileSystemJournalListener( _listener );
// No need to synchronize _currentVideoPath on exit?
if( _currentVideoPath.length() > 0 ) {
// invoke the video callback for the path we tracked previously
new CallbackDispatcherEvent( _context, _callback, new Object[] { _currentVideoPath } ).Dispatch();
}
if( _closeCallback != null ) {
new CallbackDispatcherEvent( _closeCallback ).Dispatch();
}
}