Skip to content

Commit 96caf0a

Browse files
Fix typo in debug message
1 parent b3c6927 commit 96caf0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/workers.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,15 @@ end
128128
# gracefully terminate a worker by sending a shutdown message
129129
# and waiting for the other tasks to perform worker shutdown
130130
function Base.close(w::Worker)
131-
@debug "closing $worker"
131+
@debug "closing $(w)"
132132
if !w.terminated && isopen(w.socket)
133133
req = Request(Symbol(), :(), rand(UInt64), true)
134134
@lock w.lock begin
135135
serialize(w.socket, req)
136136
flush(w.socket)
137137
end
138138
end
139-
@debug "waiting for $worker to terminate"
139+
@debug "waiting for $(w) to terminate"
140140
wait(w)
141141
return
142142
end

0 commit comments

Comments
 (0)