platisd / indoor-navigation-system

[WIP] An indoor navigation system to guide users towards their colleagues' desks
Apache License 2.0
15 stars 13 forks source link

Handle interrupt signal for graceful shutdown #86

Closed samup4web closed 6 years ago

samup4web commented 6 years ago

Description

Prior to this pull request, it is impossible to shut down the ins_server in a proper manner as one will have to manually kill the process to exit. This commit adds interrupt signal handling which helps the server exits gracefully as would be expected.

Solved issue(s)

codecov[bot] commented 6 years ago

Codecov Report

Merging #86 into dev will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev      #86   +/-   ##
=======================================
  Coverage   71.14%   71.14%           
=======================================
  Files          11       11           
  Lines         499      499           
  Branches        1        1           
=======================================
  Hits          355      355           
  Misses        144      144

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e8f8019...b54c5cb. Read the comment docs.

platisd commented 6 years ago

Tested and it works! Super fast fix! :ok_hand: :ok_hand: :ok_hand: