We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
canary
1 parent ff3d16a commit f011993Copy full SHA for f011993
src/wasm.cc
@@ -449,6 +449,9 @@ void WasmBase::finishShutdown() {
449
450
bool WasmHandleBase::canary(const std::shared_ptr<PluginBase> &plugin,
451
const WasmHandleCloneFactory &clone_factory) {
452
+ if (this->wasm() == nullptr) {
453
+ return false;
454
+ }
455
auto configuration_canary_handle = clone_factory(shared_from_this());
456
if (!configuration_canary_handle) {
457
this->wasm()->fail(FailState::UnableToCloneVm, "Failed to clone Base Wasm");
0 commit comments