From: Daniel M. Weeks Date: Thu, 11 Jun 2015 15:44:33 +0000 (-0400) Subject: Fix shm crash if client is being removed X-Git-Url: http://git.code-monkey.de/?p=umurmur.git;a=commitdiff_plain;h=54c03df3556684d6ef0b0d6533dc83bf53d426f0 Fix shm crash if client is being removed --- diff --git a/src/sharedmemory.c b/src/sharedmemory.c index a3c4cf2..67c9fa5 100644 --- a/src/sharedmemory.c +++ b/src/sharedmemory.c @@ -63,7 +63,7 @@ void Sharedmemory_update(void) Timer_init( &now ); while( Client_iterate(&client_itr) != NULL ) { - if( client_itr->authenticated ) + if( client_itr->authenticated && !client_itr->shutdown_wait ) { channel_t *channel = client_itr->channel;