josephg / ShareJS

Collaborative editing in any app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError #<Object> has no method 'flush'

mcolyer opened this issue · comments

So I rolled out the fix for abort but that uncovered an issue inside of browserchannel. I'm not exactly sure which project this issue should be filed on, so I picked share.

Object #<Object> has no method 'flush'
node_modules/browserchannel/lib/server.coffee:519:21 - exports.session.stop
node_modules/share/src/server/session.coffee:24:68 - handler.abort
function).docState.(anonymous function).queue (/apps/easel-node/node_modules/share/src/server/session.coffee:78:13 - handler.docState.(anonymous
node_modules/share/src/server/syncqueue.coffee:24:14 - exports.flush
node_modules/share/src/server/syncqueue.coffee:32:16 - exports.flush

Oh - session.stop assumes its called on the session object. Should be fixed in ShareJS 14d5322.