[Mac] Fixed exception in HIDInput.Dispose()
authorthefiddler <stapostol@gmail.com>
Sat, 20 Sep 2014 15:11:18 +0000 (17:11 +0200)
committerthefiddler <stapostol@gmail.com>
Sat, 20 Sep 2014 15:11:18 +0000 (17:11 +0200)
commit383cea7e82f3a8eb9669d8ea5cb4937cc000dfba
treec77bc83cc364a08bd855407fc503052f851afbbb
parent747d86bafb88d8c9bc65c47448d3ab558edf44e5
[Mac] Fixed exception in HIDInput.Dispose()

HIDInput.Dispose() would remove elements from a DeviceCollection during
iteration. This results in an exception.

We are now using a plain for-loop instead.
Source/OpenTK/Platform/MacOS/HIDInput.cs