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