Hello there,
I've run into a strange problem. My applications injects via EasyHook and hooks EndScene via Apoc's WhiteMagic. I open a separated thread for the GUI. As soon as I close the GUI all hooks are removed in Form_Closing() via WhiteMagic.Detours.RemoveAll(). The code for EndScene is as follows.
Any ideas what the reason might be for WoW crashing after the window form is closed with fatal exception/unknown exception?Code:public static EndScene() { // nothing else here ObjectManager.Instance.Pulse(); CallOriginalEndScene(); }
If I comment out ObjectManager.Instance.Pulse() WoW is not crashing anymore.
I mean if EndScene is unhooked what can possibly go wrong in WoW's process?