[Mac] Do not set callback delegates to null

This is done automatically by the GC once they are eligible for
collection.
This commit is contained in:
thefiddler 2014-07-23 10:10:37 +02:00
parent 4093b39fac
commit 5d66aaa034

View file

@ -1775,10 +1775,6 @@ namespace OpenTK.Platform.MacOS
DeviceRemoved(IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, device);
}
HandleDeviceAdded = null;
HandleDeviceRemoved = null;
HandleDeviceValueReceived = null;
if (hidmanager != IntPtr.Zero)
{
NativeMethods.IOHIDManagerClose(hidmanager, IOOptionBits.Zero);