Fixed: Crash under Linux (patch by Nimetu), fixes #252
This commit is contained in:
parent
a026f6bada
commit
4d132da8ca
1 changed files with 4 additions and 1 deletions
|
@ -569,7 +569,7 @@ void CLoginStateMachine::run()
|
||||||
break;
|
break;
|
||||||
case st_disconnect:
|
case st_disconnect:
|
||||||
// Far TP part 2: disconnect from the FS and unload shard-specific data (called from farTPmainLoop())
|
// Far TP part 2: disconnect from the FS and unload shard-specific data (called from farTPmainLoop())
|
||||||
FarTP.disconnectFromPreviousShard();
|
// FarTP.disconnectFromPreviousShard();
|
||||||
|
|
||||||
SM_BEGIN_EVENT_TABLE
|
SM_BEGIN_EVENT_TABLE
|
||||||
SM_EVENT(ev_connect, st_reconnect_fs);
|
SM_EVENT(ev_connect, st_reconnect_fs);
|
||||||
|
@ -1406,6 +1406,9 @@ void CFarTP::farTPmainLoop()
|
||||||
{
|
{
|
||||||
ConnectionReadySent = false;
|
ConnectionReadySent = false;
|
||||||
LoginSM.pushEvent(CLoginStateMachine::ev_far_tp_main_loop_entered);
|
LoginSM.pushEvent(CLoginStateMachine::ev_far_tp_main_loop_entered);
|
||||||
|
|
||||||
|
disconnectFromPreviousShard();
|
||||||
|
|
||||||
uint nbRecoSelectCharReceived = 0;
|
uint nbRecoSelectCharReceived = 0;
|
||||||
|
|
||||||
bool welcomeWindow = true;
|
bool welcomeWindow = true;
|
||||||
|
|
Loading…
Reference in a new issue