Skip to content

Commit

Permalink
Removed cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyabo committed Sep 8, 2024
1 parent 8a8bd4e commit cbf2fdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mapcanv_web/channels/drawing_channel.ex
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ defmodule MapCanvWeb.DrawingChannel do
if map_size(current_presence) == 1 do
# This was the last user, perform the cleanup
#cleanup_ydoc(guid)
IO.inspect("Cleaning up resources for drawing channel with guid: #{guid}")
FeaturesAgent.remove_document(guid)
#IO.inspect("Cleaning up resources for drawing channel with guid: #{guid}")
#FeaturesAgent.remove_document(guid)
end

:ok
Expand Down

0 comments on commit cbf2fdd

Please sign in to comment.