]> git.neil.brown.name Git - gsm0710muxd.git/commitdiff
bring back closing the devices, otherwise the modem stays on
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>
Wed, 21 Jan 2009 14:45:53 +0000 (15:45 +0100)
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>
Wed, 21 Jan 2009 14:45:53 +0000 (15:45 +0100)
src/gsm0710muxd.c

index ecbf6087ffcfa5cac28d7febafdecfba63003142..f6aa2e0a5ca1a4b854d29b92dff94c82c334eafa 100644 (file)
@@ -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",