Throw exceptions on ill-use instead of segfaulting

This commit is contained in:
Alex Hultman
2019-01-18 16:33:56 +01:00
parent be8aaeeba7
commit d067388df4
6 changed files with 229 additions and 112 deletions

View File

@@ -23,8 +23,6 @@
#include <type_traits>
using namespace v8;
void emptyNextTickQueue(Isolate *isolate);
/* These two are definitely static */
std::vector<UniquePersistent<Function>> nextTickQueue;
Isolate *isolate;