Skip to content

Commit

Permalink
Make OSCFunc permanent
Browse files Browse the repository at this point in the history
Avoids OSCFunc being cleared by CmdPeriod.run
  • Loading branch information
leandroyako authored and munshkr committed Mar 17, 2020
1 parent 8d86aee commit 244fbd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Flok.sc
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ Flok {
defer {
thisProcess.interpreter.cmdLine_(body).interpretPrintCmdLine;
};
}, '/flok', net);
}, '/flok', net).permanent_(true);

this.started = true;

"Flok started. Listening for messages on port %...".format(port).postln;
}
}
}

0 comments on commit 244fbd8

Please sign in to comment.