| 133 | return object; |
| 134 | } |
| 135 | callContext.setThisValue(toValdiJSValue(object)); |
| 136 | |
| 137 | if (valdiJsContext.interruptRequested()) { |
| 138 | valdiJsContext.onInterrupt(); |
| 139 | } |
| 140 | |
| 141 | auto nativeOpaque = constructor(nativeClass->getOpaque().get(), callContext); |
| 142 | if (exceptionTracker && nativeOpaque == nullptr) { |
| 143 | exceptionTracker.onError("Native class constructor returned a null opaque object"); |
| 144 | } |
| 145 |
no test coverage detected