Don't throw in the Watchdog destructor
authorChristopher Dykes <cdykes@fb.com>
Fri, 5 Aug 2016 16:48:30 +0000 (09:48 -0700)
committerFacebook Github Bot 7 <facebook-github-bot-7-bot@fb.com>
Fri, 5 Aug 2016 16:53:29 +0000 (09:53 -0700)
commit86b83461fc47b591b9e873e36ceabe4efa03e11f
tree21974337b430206df4f170b5680bc5cb816388ba
parent7dd2b5809516d608c4c8f7da7ee3a8f517440003
Don't throw in the Watchdog destructor

Summary: As-of C++11, destructors are assumed to be `noexcept` unless explicitly marked otherwise. `Watchdog`'s destructor throws, so switch it to a `LOG(FATAL)` instead.

Reviewed By: andriigrynenko

Differential Revision: D3672621

fbshipit-source-id: 5224ecf85d101462e02e12da257e033bab4db1a1
folly/test/SingletonTestStructs.h