Skip to content

Commit

Permalink
Cleanups to "firewalled" quit scenario.
Browse files Browse the repository at this point in the history
  • Loading branch information
keithw committed May 23, 2012
1 parent c0a8cd6 commit b9ed0cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/frontend/stmclient.cc
Expand Up @@ -388,11 +388,12 @@ void STMClient::main( void )
&& (timestamp() - network->get_latest_remote_state().timestamp > 250) ) {
if ( timestamp() - network->get_latest_remote_state().timestamp > 15000 ) {
if ( !network->shutdown_in_progress() ) {
overlays.get_notification_engine().set_notification_string( wstring( L"Timed out waiting for server, exiting..." ), true );
overlays.get_notification_engine().set_notification_string( wstring( L"Timed out waiting for server..." ), true );
network->start_shutdown();
}
} else {
overlays.get_notification_engine().set_notification_string( connecting_notification );
}
overlays.get_notification_engine().set_notification_string( connecting_notification );
} else if ( (network->get_remote_state_num() != 0)
&& (overlays.get_notification_engine().get_notification_string()
== connecting_notification) ) {
Expand Down

0 comments on commit b9ed0cd

Please sign in to comment.