Skip to content

Commit

Permalink
Fix macOS tests
Browse files Browse the repository at this point in the history
  • Loading branch information
barche committed May 7, 2024
1 parent dd50e9c commit e8ebdd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CxxWrap = "0.15.1"
MacroTools = "0.5"
Observables = "0.5"
Requires = "1.0"
jlqml_jll = "0.6.0"
jlqml_jll = "0.6.1"
julia = "1.6"

[extras]
Expand Down
2 changes: 1 addition & 1 deletion src/QML.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ end
function load_qml(qmlfilename, engine)
ctx = root_context(CxxRef(engine))
if !load_into_engine(engine, QString(qmlfilename))
cleanup()
error("Failed to load QML file ", qmlfilename)
end
return engine
Expand All @@ -98,6 +97,7 @@ function loadqml(qmlfilename; kwargs...)
return load_qml(qmlfilename, qml_engine)
catch
cleanup()
QML.process_events()
rethrow()
end
end
Expand Down

0 comments on commit e8ebdd9

Please sign in to comment.