Skip to content

Commit

Permalink
Ignore warning from reset_shared_state
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Aug 6, 2024
1 parent 674c322 commit 6d3aaea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/webserver/Dynamic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,9 @@ end

responses[:reset_shared_state] = function response_reset_shared_state(πŸ™‹::ClientRequest)
delete!(current_state_for_clients, πŸ™‹.initiator.client)
send_notebook_changes!(πŸ™‹; commentary=Dict(:from_reset => true))
if πŸ™‹.notebook !== nothing
send_notebook_changes!(πŸ™‹; commentary=Dict(:from_reset => true))
end
end

responses[:run_multiple_cells] = function response_run_multiple_cells(πŸ™‹::ClientRequest)
Expand Down

0 comments on commit 6d3aaea

Please sign in to comment.