@Override public synchronized void close() { if (isRunning()) { throw new RuntimeException("Cannot close graph while it is running!"); } if (mLogVerbose) Log.v(TAG, "Closing filters."); mRunner.close(); }