mirror of
https://github.com/xodio/xod.git
synced 2026-03-14 12:46:54 +01:00
fix(stdlib): do not emit extraneous pulse from defer-pulse on boot
This commit is contained in:
@@ -6,7 +6,7 @@ struct State {
|
||||
void evaluate(Context ctx) {
|
||||
if (isInputDirty<input_IN>(ctx)) { // This happens only when all nodes are evaluated
|
||||
setTimeout(ctx, 0);
|
||||
} else {
|
||||
} else if (isTimedOut(ctx)) {
|
||||
emitValue<output_OUT>(ctx, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user