Skip to content

Error in running finalizer #684

@rossati

Description

@rossati

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions