core: More clean shutdown?
This commit is contained in:
parent
8216bdb4b3
commit
287c6c06e1
@ -1055,7 +1055,7 @@ static void _tf_ssb_rpc_ebt_send_clock_callback(const tf_ssb_ebt_clock_t* clock,
|
|||||||
resend_clock_t* resend = user_data;
|
resend_clock_t* resend = user_data;
|
||||||
tf_ssb_connection_t* connection = resend->connection;
|
tf_ssb_connection_t* connection = resend->connection;
|
||||||
|
|
||||||
if (clock && clock->count)
|
if (clock && clock->count && tf_ssb_connection_is_connected(connection) && !tf_ssb_connection_is_closing(connection))
|
||||||
{
|
{
|
||||||
JSContext* context = tf_ssb_connection_get_context(connection);
|
JSContext* context = tf_ssb_connection_get_context(connection);
|
||||||
JSValue message = JS_NewObject(context);
|
JSValue message = JS_NewObject(context);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user