Skip to content

Commit 2bef0ac

Browse files
committed
fixup! Giant refactor to move all state into a Kernel struct
1 parent 6b0409d commit 2bef0ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/IJulia.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function Base.close(kernel::Kernel)
204204
close(kernel.raw_input[])
205205
close(kernel.requests[])
206206
close(kernel.control[])
207-
close(kernel.heartbeat_context[])
207+
stop_heartbeat(kernel)
208208

209209
# The waitloop should now be ready to exit
210210
kernel.inited = false

test/kernel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function make_request(request_func, get_func, args...; wait=true, kwargs...)
7878
end
7979

8080
result = Ref{Py}()
81-
timeout = haskey(ENV, "CI") ? 120 : 10
81+
timeout = haskey(ENV, "CI") ? 120 : 20
8282
if timedwait(() -> test_py_get!(get_func, result), timeout) == :timed_out
8383
error("Jupyter channel get timed out")
8484
end

0 commit comments

Comments
 (0)