JSValueRefHolder deallocation triggers a tsan warning, as it is possible that the dispose() virtual method gets called while the holder is being destroyed. This is not a problem in practice as we acquire the lock during the removeDisposable() call, so the destructor will end up "pausing" while doDispose() is called
| 40 | } |
| 41 | attributionExceptionTracker.clearError(); |
| 42 | } |
| 43 | |
| 44 | if (captureStackTrace) { |
| 45 | if (exceptionTracker.getStackTraceProvider() == nullptr && jsContext.getListener() != nullptr) { |
| 46 | exceptionTracker.setStackTraceProvider(jsContext.getListener()->captureCurrentStackTrace()); |
| 47 | } |
| 48 | |
| 49 | _stackTraceProvider = exceptionTracker.getStackTraceProvider(); |
nothing calls this directly
no test coverage detected