We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3321b93 commit f8d8530Copy full SHA for f8d8530
NetworkDynamicsInspector/src/serving.jl
@@ -85,7 +85,7 @@ function serve_app(::BrowserDisp, app)
85
nothing
86
end
87
function close_display(::BrowserDisp; kwargs...)
88
- if BROWSER_STATE[:handler] isa Bonito.HTTPServer.BrowserDisplay
+ if haskey(BROWSER_STATE, :handler) && BROWSER_STATE[:handler] isa Bonito.HTTPServer.BrowserDisplay
89
close(BROWSER_STATE[:handler])
90
91
BROWSER_STATE[:handler] = nothing
0 commit comments