Beispiel #1
0
 // Detach this engine from the primary position.
 private void DetachEngine()
 {
     lock (typeof(VsaEngine))
     {
         if (this == primaryEngine)
         {
             primaryEngine = null;
         }
         if (this == Globals.contextEngine)
         {
             Globals.contextEngine = null;
         }
         engineInstance.DetachOutputStreams();
         detached = true;
     }
 }