WeakRef.clear

Frees resources associated with a non-statically-allocated gobject.WeakRef After this call, the gobject.WeakRef is left in an undefined state.

You should only call this on a gobject.WeakRef that previously had WeakRef.init called on it.

class WeakRef
void
clear
()

Meta

Since

2.32