Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
hubertp committed May 3, 2023
1 parent 9afc891 commit 41eda14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ class CollaborativeBuffer(
}

def stop(autoSave: Map[ClientId, (ContentVersion, Cancellable)]): Unit = {
autoSave.values.foreach(_._2.cancel())
autoSave.foreach { case (_, (_, cancellable)) => cancellable.cancel() }
context.system.eventStream.publish(BufferClosed(bufferPath))
context.stop(self)
}
Expand Down

0 comments on commit 41eda14

Please sign in to comment.