System.Drawing.ComIStreamMarshaler.ManagedToNativeWrapper.OnShutdown C# (CSharp) Method

OnShutdown() private static method

private static OnShutdown ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
			private static void OnShutdown(object sender, EventArgs e)
			{
				lock (managedVtable)
				{
					// There may be object instances when shutting down
					if (vtableRefCount == 0 && comVtable != IntPtr.Zero)
						DisposeVtable();
				}
			}