Jump to content

[patch] Thread Crashfix


Recommended Posts

Posted

Hey Folks,

I've had problems with MangChat crashing and finally narrowed it down to a bug in the Threading code. Now I don't know if the threading code was wrong or something in my OnlinePlayers thread was wrong anyways, here's the fix.

http://github.com/xeross/mangos/commit/1565daa316505d611834c76a3a5f8b03b416602a

This fixed the crash for me but it might be a hack I don't know, MaNGOS devs please comment on this so I can work out a proper fix.

Regards, Xeross

Posted

There is a bug in you code: you do not initialize bool m_deleted; in Runnable class constructor which means you can cause crashes and bugs yourself :) Also I hardly believe that this code can fix something =/

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use