Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Error in running finalizer #684

Open
rossati opened this issue Jan 11, 2023 · 0 comments
Open

Error in running finalizer #684

rossati opened this issue Jan 11, 2023 · 0 comments

Comments

@rossati
Copy link

rossati commented Jan 11, 2023

Hi

I have the error in running finalizer after few start of a scripts that generate a form using Gtk.jl.
I think that is because( my be) I am not closing well the form, here below the code I am using.

showall(win)
if !isinteractive()
    c = Condition()
    signal_connect(win, :destroy) do widget
    notify(c)
end
@async Gtk.gtk_main()
wait(c)
end

The only clue thai I have in the attached file is:

eval at C:\Sviluppo\julia-1.8.1\scripts\formgen.jl:6 [inlined]
#14 at C:\Sviluppo\julia-1.8.1\scripts\**formgen.jl:233**

at formgen.jl:233 there is a function attached to an event for terminate the program:

id = signal_connect(mnItem, "activate") do widget           
      eval(Meta.parse("Main.$fnz(\"$prm\")"))
end

($fnz contains a valid function name)

Thanks for any suggestions

Giovanni Rossati

ErrorFinalizer.txt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant