[node, glfw] Don't throw in destructor

This commit is contained in:
John Firebaugh
2017-03-10 10:13:40 -08:00
parent b05e19b389
commit a0a69ad6a7

View File

@@ -121,7 +121,7 @@ RunLoop::~RunLoop() {
runOnce();
if (uv_loop_close(impl->loop) == UV_EBUSY) {
throw std::runtime_error("Failed to close loop.");
assert(false && "Failed to close loop.");
}
delete impl->loop;
}