Method

GumStalkergarbage_collect

Declaration [src]

gboolean
gum_stalker_garbage_collect (
  GumStalker* self
)

Description [src]

Reclaims resources left behind by threads that have unfollowed or exited but could not be cleaned up synchronously, e.g. because they might still have been executing instrumented code. Call this periodically until it returns FALSE to drain such garbage.

Return value

Type: gboolean

TRUE if garbage still remains and another pass should be made later.