bankd: Disconnect client if we enter state BW_ST_CONN_CLIENT_UNMAPPED

Change-Id: Ifc1741610fc8a3c0413844e0c37a6fcbb2c55067
changes/97/13497/1
Harald Welte 4 years ago
parent 2507597c42
commit 653d6a0b38
  1. 2
      src/bankd_main.c

@ -767,6 +767,8 @@ static void *worker_main(void *arg)
rc = worker_transceive_loop(g_worker);
if (rc < 0)
break;
if (g_worker->state == BW_ST_CONN_CLIENT_UNMAPPED)
break;
}
LOGW(g_worker, "Error %d occurred: Cleaning up state\n", rc);

Loading…
Cancel
Save