Skip to content

Commit

Permalink
upgrade Blink version; allow clean Blink shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
alexriss committed Jan 3, 2024
1 parent d1a7905 commit e9d371a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ TranscodingStreams = "3bb67fe8-82b1-5028-8e26-92a6c54297fa"
ZipFile = "a5390f91-8eb1-5f08-bee0-b1d1ffed6cea"

[compat]
Blink = "=0.12.8"
Blink = "=0.12.9"
CodecZlib = "=0.7.2"
ColorSchemes = "=3.23.0"
DSP = "=0.7.8"
Expand Down
5 changes: 5 additions & 0 deletions src/SpmImageTycoon.jl
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,9 @@ function tycoon(dir_data::String=""; return_window::Bool=false, keep_alive::Bool
yield()
sleep(0.1)
end
# close and exit after a few seconds
sleep(5)
close(w, quit=true)
end
if return_window
return w
Expand Down Expand Up @@ -1037,6 +1040,8 @@ end
@js w get_line_profile("Image_398.sxm", $start, $stop, 0.2)

items = get_items(window=w)
close(w, quit=true)
return nothing
end
end

Expand Down

0 comments on commit e9d371a

Please sign in to comment.