public static void Release() { if (dispatch != null) { dispatch.Dispose(); } dispatch = null; }
public static void Initialize() { if (dispatch != null) { return; } dispatch = new MainDispatch(); Action invocation = null; invocation = () => { GL.IssuePluginEvent(NatCamRenderDelegate(), 0x6723872); dispatch.Dispatch(invocation); }; dispatch.Dispatch(invocation); }