public void Dispose() { var h = _handle; _handle = IntPtr.Zero; OeipCApi.CloseVideo(h); _cb_output = null; }
protected PipelineDemoSession(IntPtr handle) { _handle = handle; _outputs = new Dictionary <Stage, Bitmap>(); // "Pinneljuk" a delegate-et hogy ne GC-zodjon mikozben a lib meg pointert tarol ra _cb_output = StageOutputCallback; OeipCApi.RegisterStageOutputCallback(_handle, _cb_output); }