php-gtk3 icon indicating copy to clipboard operation
php-gtk3 copied to clipboard

Heap memory cleanup

Open d47081 opened this issue 1 year ago • 2 comments

As PHP send object creation request to CPP, what about (heap) memory cleanup there?

I mean delete operation for every new widget construction

d47081 avatar Aug 20 '24 16:08 d47081

We have some issues about it, but all teorical universe

https://github.com/scorninpc/php-gtk3/issues/81 (here we implement some things to try some tests) https://github.com/scorninpc/php-gtk3/issues/42 https://github.com/scorninpc/php-gtk3/issues/151

Have you facing some problem?

scorninpc avatar Aug 20 '24 17:08 scorninpc

No, not facing

Introduction to Memory Management in GTK+ looks useful for manual management, but here is another way, by gtkmm wrapper for C++ Chapter 25. Memory management - Gtk::make_managed()

Suppose it could be much useful for PHP implementation

d47081 avatar Sep 01 '24 17:09 d47081