Skip to content

Commit

Permalink
Fix race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Apr 20, 2024
1 parent 939b88d commit ecce9ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/serial_backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export function initializeSerialBackend() {
finishClose(toggleStatus);
}

mspHelper.setArmingEnabled(true, false, onFinishCallback);
mspHelper?.setArmingEnabled(true, false, onFinishCallback);
}
}
}
Expand Down

0 comments on commit ecce9ea

Please sign in to comment.