From ec075eff18f8ebf667c2482359ffc5217409d110 Mon Sep 17 00:00:00 2001 From: Eric House Date: Sat, 11 Nov 2017 18:49:23 -0800 Subject: [PATCH] comment out assertion that's firing when db wiped --- xwords4/common/comms.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xwords4/common/comms.c b/xwords4/common/comms.c index 4afd3dba9..19a0c7986 100644 --- a/xwords4/common/comms.c +++ b/xwords4/common/comms.c @@ -462,7 +462,10 @@ reset_internal( CommsCtxt* comms, XP_Bool isServer, if ( 0 != comms->nextChannelNo ) { XP_LOGF( "%s: comms->nextChannelNo: %d", __func__, comms->nextChannelNo ); } - XP_ASSERT( 0 == comms->nextChannelNo ); /* firing... */ + /* This tends to fire when games reconnect to the relay after the DB's + been wiped and connect in a different order from that in which they did + originally. So comment it out. */ + // XP_ASSERT( 0 == comms->nextChannelNo ); // comms->nextChannelNo = 0; if ( resetRelay ) { comms->channelSeed = 0;