Browse Source

Test

etomic
jl777 7 years ago
parent
commit
7063ae7cba
  1. 9
      iguana/exchanges/stats.c

9
iguana/exchanges/stats.c

@ -735,10 +735,13 @@ void LP_rpc_processreq(void *_ptr)
free(space); free(space);
free(jsonbuf); free(jsonbuf);
closesocket(sock); closesocket(sock);
portable_mutex_lock(&LP_gcmutex); if ( 0 )
DL_APPEND(LP_garbage_collector,req); {
portable_mutex_lock(&LP_gcmutex);
DL_APPEND(LP_garbage_collector,req);
portable_mutex_unlock(&LP_gcmutex);
} free(req);
spawned--; spawned--;
portable_mutex_unlock(&LP_gcmutex);
} }
extern int32_t IAMLP; extern int32_t IAMLP;

Loading…
Cancel
Save