JuliaGraphics / QML.jl

Build Qt6 QML interfaces for Julia programs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using `qmlfunction` on anonymous functions seems to cause segfaults

bramtayl opened this issue · comments

This could be because the function is not protected from GC. Could you run your test with GC.enable(false) at the start of the Julia file and see if that makes a difference? If so, this will need a change in jlqml and a new binary release.

I had to update jlqml to fix the segfault in the nightly test, so I included the probable fix for this too.

Yup that seems to have done it! Thanks!