| 42 | self->doPostInit(); |
| 43 | } |
| 44 | }); |
| 45 | } |
| 46 | |
| 47 | void JavaScriptWorker::setHostOnMessage(Shared<JSValueRefHolder> func) { |
| 48 | std::lock_guard<Mutex> lock(_mutex); |
| 49 | if (_state == State::Running) { |
| 50 | _hostOnMessage = std::move(func); |
| 51 | } |
| 52 | } |
nothing calls this directly
no test coverage detected