Skip to content

Commit ec17c3e

Browse files
Minor fix
1 parent c5e6878 commit ec17c3e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/TerminalSystemMonitor.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ function main(dummyargs...)
165165
getproperty(getproperty(Main, :CUDA), :functional)()
166166
wait(t1)
167167
f = fetch(t1)
168+
if isnothing(f)
169+
break
170+
end
168171
cudaplts = []
169172
n = max(1, cols ÷ 50)
170173
plts1 = plot_gpu_utilization_rates(CUDADevice)::Vector{Any}

0 commit comments

Comments
 (0)