minor: turn off wifi on exit

This commit is contained in:
Qingping Hou
2016-10-16 01:21:47 -07:00
parent 0ed95406a4
commit db5a872ec6

View File

@@ -206,6 +206,7 @@ local function exitReader()
-- shutdown hardware abstraction
Device:exit()
require("ui/network/manager"):turnOffWifi()
if Profiler then Profiler.stop() end
os.exit(0)