Jonathan Gold
9ba9ef1cbf
resources: aws: ec2: Close closeChan before server shutdown
...
This patch makes sure that closeChan is closed as soon as the main loop
returns, so any channel operations are unblocked before we run shutdown.
This ensures that the server's goroutine can return before shutdown
completes and we don't panic by trying to serve the client after
shutdown returns.
2018-01-03 21:34:27 -05:00
..
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:34:27 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00
2018-01-03 21:22:07 -05:00