Skip to content

Commit

Permalink
fix(server-plus): Addiditional fix for #66: mismatch between the name…
Browse files Browse the repository at this point in the history
… of the synth def and the generated compiled name that sclang gives it
  • Loading branch information
crucialfelix committed Nov 24, 2019
1 parent 2a2c7fb commit 3e19568
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/server-plus/src/ServerPlus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,6 @@ export default class ServerPlus extends Server {
if (!result) {
new Error(`${name} not found in compiled SynthDefs`);
}
if (result.name !== name) {
throw new Error(`SynthDef compiled as ${result.name} but server.synthDefs was called with: ${name}`);
}
const sourceCode = result.synthDesc.sourceCode;

const synthDef = new SynthDef(
Expand Down

0 comments on commit 3e19568

Please sign in to comment.