[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] OSCBundle breaks if server is nil



p = Patch(someInstr);
p.free;

... fails because it doesn't have a server assigned, hence OSCBundle can't send. Should OSCBundle not substitute Server.default? Either that or detect a nil server and not send. E.g.,

	schedSend { arg server, clock, quant;
		server = server ?? { Server.default };
		this.doPrepare(server, {
		...

Also in send, sendAtTime, doPrepare, prSend and MixedBundle-prSend.

Just for general robustness.





ok, I'll fix this.
--





.