mysql_close() hangs the server
#1

After moving to a Debian machine, we noticed that the server will hang on either gmx or changemode.
I added some debugs to the script, to find out what was causing this.. and I have found it.
The cause is mysql_close(), and I have tried everything to fix it.. but I can't think of anything.
Heres the code:

pawn Код:
public OnGameModeExit()
{
    // other stuff
    mysql_close();
    return 1;
}
What do I mean by hang?
It sends all the leave messages, but the server wont "reboot"
Nobody gets the login dialog, or anything.. and even after you quit, the client still reports you (and all the others at time of GMX) as online..


Soo.. does anyone know why this is happening?
Remember, worked fine on Windows, started happening with Debian.
Reply
#2

I have this problem aswell, would be nice to know a fix
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)