derbyjs / racer

Realtime model synchronization engine for Node.js
1.19k stars 118 forks source link

model.unsubscribe always requires a callback #74

Closed koppor closed 11 years ago

koppor commented 11 years ago

If I use model.unsubscribe(path), I get following exception:

ReferenceError: finishAfter is not defined
    at Function.unsubscribe (C:\git-repositories\winery\winery-modeller\node_modules\racer\lib\descriptor\query\QueryHub.js:109:18)

If I submit an empty callback function, everything works fine.

nateps commented 11 years ago

No longer relevant in 0.5