commit | 1271d6828b226f951fa69ed9927fa7c9a358318a | [log] [tgz] |
---|---|---|
author | Thieu Le <thieule@chromium.org> | Wed Nov 02 22:48:19 2011 +0000 |
committer | Thieu Le <thieule@chromium.org> | Thu Nov 03 10:46:42 2011 -0700 |
tree | cf3339145593eefd24776c1fad47bcfaec500d74 | |
parent | 5dc40aad05908dc435e623e56392780ef6d1079e [diff] |
shill: Disconnect services before exiting. Add SIGINT/SIGTERM handler to gracefully exit the main loop and add ability to disconnect from all services during the clean up. BUG=chromium-os:19997 TEST=Unit tests, WiFiManager, manually run shill and Control-C Change-Id: Ida02ade729af624ef0ea4e32e3fb80436aaf870b Reviewed-on: https://gerrit.chromium.org/gerrit/11092 Commit-Ready: Thieu Le <thieule@chromium.org> Reviewed-by: Thieu Le <thieule@chromium.org> Tested-by: Thieu Le <thieule@chromium.org>