mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34: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 )
|
relaycon_cleanup( LaunchParams* params )
|
||||||
{
|
{
|
||||||
RelayConStorage* storage = (RelayConStorage*)params->relayConStorage;
|
RelayConStorage* storage = (RelayConStorage*)params->relayConStorage;
|
||||||
if ( storage->params->useHTTP ) {
|
if ( !!storage && storage->params->useHTTP ) {
|
||||||
pthread_mutex_lock( &storage->relayMutex );
|
pthread_mutex_lock( &storage->relayMutex );
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
int nRelayTasks = g_slist_length( storage->relayTaskList );
|
int nRelayTasks = g_slist_length( storage->relayTaskList );
|
||||||
|
|
Loading…
Add table
Reference in a new issue