Skip to content
This repository was archived by the owner on Feb 25, 2024. It is now read-only.

Commit

Permalink
Update src/simulationMachine.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: David Khourshid <[email protected]>
  • Loading branch information
mattpocock and davidkpiano authored Oct 22, 2021
1 parent 4be7f7b commit 01bb94b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/simulationMachine.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ export const simulationMachine = simModel.createMachine(
services: {
captureEventsFromChildServices: () => (sendBack) => {
devTools.onRegister((service) => {
// Only capture machines that are spawned or invoked
if (service.parent) {
sendBack(
simModel.events['SERVICE.REGISTER']({
Expand Down

0 comments on commit 01bb94b

Please sign in to comment.