private void CleanupLogicAndInputListener() { Logic?.Dispose(); _inputListener?.Dispose(); Logic = null; _inputListener = null; }
private static void RemoveListener() { _listener?.Dispose(); _listener = null; }
public static void RemoveListener() { _listener?.Dispose(); _listener = null; }
private static void UnloadListener() { _listener.Dispose(); _listener = null; }
public void Dispose() { OnDispose(); GraphHelper = null; InputListener.Dispose(); }