Skip to content

Commit

Permalink
fix simulator server reset crash due to regression in v0.5.3 update (c…
Browse files Browse the repository at this point in the history
…loses #44, closes #49)
  • Loading branch information
msavva committed Apr 30, 2018
1 parent 5f0fc7a commit f3f115f
Show file tree
Hide file tree
Showing 3 changed files with 662 additions and 366 deletions.
5 changes: 3 additions & 2 deletions minos/server/check_episode_states.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ function checkState(state, cb) {
});
});
} else {
simulator.reset();
setTimeout( function() { validateShortestPath(state, cb); }, 0);
simulator.reset(function(err, sceneState) {
setTimeout( function() { validateShortestPath(state, cb); }, 0);
});
}
}

Expand Down

0 comments on commit f3f115f

Please sign in to comment.