fix two timers bugs
This commit is contained in:
parent
1470a99665
commit
1660b06064
3 changed files with 9 additions and 3 deletions
|
|
@ -212,7 +212,7 @@ export function App() {
|
|||
return () => {
|
||||
if (timeout) clearTimeout(timeout);
|
||||
}
|
||||
}, [time, trace]); // <-- todo: is this really efficient?
|
||||
}, [time, currentTraceItem]); // <-- todo: is this really efficient?
|
||||
|
||||
function appendNewConfig(simtime: number, cause: string, computeNewState: () => [RaisedEvent[], CoupledState]) {
|
||||
let newItem: TraceItem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue