You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In Julia, it looks like finalizers are always called when exiting.
E.g., the following code always prints "hola".
mutable struct S
a
endfunctionS()
returnfinalizer(_->Core.println("hola"), S(3))
endS()
However, if we wrap it with juliacall, the finalizer is never executed.
importjuliacalljuliacall.Main.include("kk.jl")
Describe the solution you'd like
I'd like finalizers to always be executed
Describe alternatives you've considered
My current workaround is finishing with
juliacall.Main.GC.gc()
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In Julia, it looks like finalizers are always called when exiting.
E.g., the following code always prints "hola".
However, if we wrap it with juliacall, the finalizer is never executed.
Describe the solution you'd like
I'd like finalizers to always be executed
Describe alternatives you've considered
My current workaround is finishing with
The text was updated successfully, but these errors were encountered: