object: Only destroy GdkSurface if the JS ref is the last one
Fixes a regression from 4760150c. We do not want to destroy a GdkSurface if other references to it are being held from C.
Closes: #598 (closed)
Fixes a regression from 4760150c. We do not want to destroy a GdkSurface if other references to it are being held from C.
Closes: #598 (closed)