Beispiel #1
0
 void Update()
 {
     if (context == null)
     {
         return;
     }
     context.Update();
 }
Beispiel #2
0
    public static void Finish()
    {
        finish();
        context.Update();

        if (sharedBuffer != IntPtr.Zero)
        {
            Marshal.FreeCoTaskMem(sharedBuffer);
            sharedBuffer = IntPtr.Zero;
        }
    }