mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
fix crash on shutdown (post-relay world)
This commit is contained in:
parent
5101fb46cb
commit
8c335aace3
1 changed files with 1 additions and 1 deletions
|
@ -746,7 +746,7 @@ void
|
|||
relaycon_cleanup( LaunchParams* params )
|
||||
{
|
||||
RelayConStorage* storage = (RelayConStorage*)params->relayConStorage;
|
||||
if ( storage->params->useHTTP ) {
|
||||
if ( !!storage && storage->params->useHTTP ) {
|
||||
pthread_mutex_lock( &storage->relayMutex );
|
||||
#ifdef DEBUG
|
||||
int nRelayTasks = g_slist_length( storage->relayTaskList );
|
||||
|
|
Loading…
Reference in a new issue