diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-03-10 10:13:40 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-03-10 15:03:18 -0800 |
commit | a0a69ad6a7d4428961d99564b9b09b23a0acfcf6 (patch) | |
tree | d2abaaacc97f603057c0ca4ae57a386f1c7afce7 /platform/default | |
parent | b05e19b3890b25e476e46ec2544920687cbe0e2e (diff) | |
download | qtlocation-mapboxgl-a0a69ad6a7d4428961d99564b9b09b23a0acfcf6.tar.gz |
[node, glfw] Don't throw in destructor
Diffstat (limited to 'platform/default')
-rw-r--r-- | platform/default/run_loop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/run_loop.cpp b/platform/default/run_loop.cpp index 1b9a5cc5d1..98d1badcb5 100644 --- a/platform/default/run_loop.cpp +++ b/platform/default/run_loop.cpp @@ -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; } |