And has that changed recently?

I spend the whole weekend with

<https://github.com/StefanSalewski/gintro/issues/167>

Indeed I found a bug due to a tiny typo, but the cairo apps continue to crash 
with ARC. Before it was not crashing, maybe it leaked memory before. I have 
still no idea if Nim, Cairo or gintro has changed. My guess is Nim.

I just noticed that it crash wish
    
    
    GC_unref(cast[RootRef](o))
    
    
    Run

but seems to work with the correct cast
    
    
    GC_unref(cast[Surface](o)
    
    
    Run

If the correct cast is necessary now, then that may be a serious problem, as 
that statement is called from C library and so we do not know the correct type.

It is from

<https://github.com/StefanSalewski/gintro/blob/master/gintro/cairoimpl.nim#L147>

Reply via email to