MCPcopy Create free account
hub / github.com/GStreamer/gst-python / gccollect

Method gccollect

testsuite/common.py:55–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 self._tracked.append(obj)
54
55 def gccollect(self):
56 ret = 0
57 while True:
58 c = gc.collect()
59 ret += c
60 if c == 0:
61 break
62 return ret
63
64 def gcverify(self):
65 leaked = []

Callers 15

gctrackMethod · 0.95
gcverifyMethod · 0.95
tearDownMethod · 0.95
tearDownMethod · 0.80
testGoodConstructorMethod · 0.80
testGoodConstructorMethod · 0.80
tearDownMethod · 0.80
testRemovingProbeMethod · 0.80
testAddPadMethod · 0.80
tearDownMethod · 0.80
tearDownMethod · 0.80
tearDownMethod · 0.80

Calls

no outgoing calls

Tested by 15

tearDownMethod · 0.64
testGoodConstructorMethod · 0.64
testGoodConstructorMethod · 0.64
tearDownMethod · 0.64
testRemovingProbeMethod · 0.64
testAddPadMethod · 0.64
tearDownMethod · 0.64
tearDownMethod · 0.64
tearDownMethod · 0.64
testGetMethod · 0.64
tearDownMethod · 0.64
testPlayingMethod · 0.64