Closed HakanL closed 9 years ago
ok I changed it to just hold a reference to the delegate without GCHandle, seems to work just as well.
I wasn't sure if we still have to set the reference to null when we're getting the END callback type, it may not be necessary?
It can't hurt to set the reference to null. I'll check this over and merge it shortly
Ok I merged this in, and made a few changes myself to unify the repeated callback handling code into one place.
Very good, thanks!
Solves the issue with disposing of callbacks.