From: Michael 'Mickey' Lauer Date: Wed, 21 Jan 2009 14:45:53 +0000 (+0100) Subject: bring back closing the devices, otherwise the modem stays on X-Git-Tag: 0.9.3~2 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=58fe3bf29b562bdddb6e85f3569c0ae932abb7c4;p=gsm0710muxd.git bring back closing the devices, otherwise the modem stays on --- diff --git a/src/gsm0710muxd.c b/src/gsm0710muxd.c index ecbf608..f6aa2e0 100644 --- a/src/gsm0710muxd.c +++ b/src/gsm0710muxd.c @@ -2020,8 +2020,7 @@ int main( g_main_loop_run(main_loop); // will/may be terminated in signal_treatment g_main_loop_unref(main_loop); //finalize everything -// Don't bother with closing devices, mainloop is not running anymore -// SYSCHECK(close_devices()); + SYSCHECK(close_devices()); free(serial.adv_frame_buf); gsm0710_buffer_destroy(serial.in_buf); LOG(LOG_INFO, "Received %ld frames and dropped %ld received frames during the mux-mode",