Skip to content

Commit 99bdcc0

Browse files
committed
Solve the "Warning in <TCanvas::Delete()>: ..." message that was appearing on ROOT import in interactive sessions.
1 parent 10c6b25 commit 99bdcc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/iROOT.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ end
88

99
function _init_event_loop()
1010
ROOT!EnableThreadSafety()
11-
Delete(TCanvas())
11+
TCanvas()
1212
SetBatch(ROOT!GetROOT(), false)
1313
schedule(Task(_event_loop))
1414
nothing

0 commit comments

Comments
 (0)