Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to close a document on the server #387

Open
vkalpias opened this issue Jul 16, 2015 · 0 comments
Open

Is it possible to close a document on the server #387

vkalpias opened this issue Jul 16, 2015 · 0 comments

Comments

@vkalpias
Copy link

I am trying to close and delete a document from the server when all clients disconnect. Is this possible somehow?

I've tried manually deleting the document from the database and all its related ops (using livedb with mongo). The problem is that after its deleted manually, when it gets requested again we recreate it with the same id. This causes issues as probably the document is still open on the server with a different version..

Basically I want to remove the document from memory and from the database - can this be done?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant