mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-14 01:04:33 +00:00
Process "kill" is properly implemented.
This commit is contained in:
parent
661476ad92
commit
71e5298d90
@ -30,7 +30,7 @@
|
||||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* $Id: mt-test.c,v 1.1 2007/09/11 12:12:59 matsutsuka Exp $
|
||||
* $Id: mt-test.c,v 1.2 2007/09/11 12:55:57 matsutsuka Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -129,6 +129,10 @@ PROCESS_THREAD(mt_process, ev, data)
|
||||
toggle++;
|
||||
}
|
||||
etimer_set(&timer, CLOCK_SECOND / 2);
|
||||
} else if(ev == ctk_signal_window_close || ev == PROCESS_EVENT_EXIT) {
|
||||
ctk_window_close(&window);
|
||||
process_exit(&mt_process);
|
||||
LOADER_UNLOAD();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user