void OnDestroy() { if (_streamer != null) { _streamer.Destroy(); } Thread.Sleep(500); if (_grabber != null) { _grabber.Destroy(); } if (_grabber2 != null) { _grabber2.Destroy(); } }
void OnDestroy() { _grabber.Destroy(); }
void OnDestroy() { if (_streamer != null) { _streamer.Destroy(); } Thread.Sleep(500); if (_grabber != null) { _grabber.Destroy(); } if (_grabber2 != null) { _grabber2.Destroy(); } }
void OnDestroy() { _grabber.Destroy(); }