[Mac] Explicitly close removed devices
authorthefiddler <stapostol@gmail.com>
Wed, 23 Jul 2014 19:19:46 +0000 (21:19 +0200)
committerthefiddler <stapostol@gmail.com>
Wed, 23 Jul 2014 19:19:46 +0000 (21:19 +0200)
commit57c2f89038e454bbeda7bd8529411dd48040de6b
tree799c5a3e78827b80060c9d3d12e975b7347e394a
parentd12643cf442a0c0c634352bf8af574d47298304c
[Mac] Explicitly close removed devices

Devices are now explicitly closed when they a DeviceRemoved event is
received. Additionally, exceptions are no longer allowed to escape into
unmanaged code, where they might crash the runtime.
Source/OpenTK/Platform/MacOS/HIDInput.cs