win32/Ticker: Stop ticker on exit
authorBen Gamari <bgamari.foss@gmail.com>
Sat, 22 Apr 2017 13:33:31 +0000 (09:33 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sun, 23 Apr 2017 15:05:48 +0000 (11:05 -0400)
commit87fbf39a61d2535a172fbcecec098730eba1777f
tree8781dbbbf21578d62bd846201e6970a96978b408
parent74e5ec9e63ff40bb8d52041cdc2f602d9bf12eb8
win32/Ticker: Stop ticker on exit

While debugging an unrelated issue I noticed that we leak a
TimerQueueTimer on exit since we don't necessarily call stopTicker
before exitTicker. Fix this.

Test Plan: Validate on Windows

Reviewers: simonmar, austin, erikd

Reviewed By: simonmar

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3477
rts/win32/Ticker.c