Issue status update for http://smalltalk.gnu.org/project/issue/529 Post a follow up: http://smalltalk.gnu.org/project/comments/add/529

Project:      GNU Smalltalk
Version:      <none>
Component:    VM
Category:     bug reports
Priority:     normal
Assigned to:  Unassigned
Reported by:  MrGwen
Updated by:   MrGwen
-Status:       active
+Status:       invalid

This is my fault, the callback is free when the gc sweep it. I should
keep a reference of it somewhere:

GTK.Gtk keySnooperInstall: (CCallbackDescriptor ...)

call the primitive with the callback, but the callback reference will
be swept at the next garbage collection.
A solution is to register it in the keysnooper.



_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to