josephg / ShareJS

Collaborative editing in any app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to close all doc when only one client is open

sandip2451984 opened this issue · comments

I am using sharejs0.6 and I want to close doc when there are no any client open (I mean, suppose I have two browser open chrome and firefox. so if i change in one than its affected to second but if i close firefox and than refresh page in chrome than old changes need to reload). so how can i close doc when only one client is open?