altos: Make sure companion task exits cleanly when done
authorKeith Packard <keithp@keithp.com>
Fri, 12 Aug 2011 12:41:15 +0000 (05:41 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 14 Aug 2011 01:46:12 +0000 (18:46 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_companion.c

index 556ce04..e2e6d05 100644 (file)
@@ -79,6 +79,7 @@ ao_companion(void)
                ao_delay(ao_companion_setup.update_period);
                ao_companion_get_data();
        }
+       ao_exit();
 }
 
 void