File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,10 @@ pub struct PyType {
50
50
#[ cfg( feature = "gc" ) ]
51
51
impl crate :: object:: gc:: GcTrace for PyType {
52
52
fn trace ( & self , tracer_fn : & mut crate :: object:: gc:: TracerFn ) {
53
- // FIXME(discord9): figure out correct trace() for PyType, simply call each field results in underflow of rc, is PyType all leaked()?
53
+ // FIXME(discord9): figure out correct trace() for PyType,
54
+ // simply call each field results in underflow of rc, is PyType all leaked()?
55
+ // might have to do with similiar problem before which only use PyInner<Erased>(through `.as_object()`) can access header() with correct data
56
+ // but PyInner<T> access header() with wrong data, but not sure about that.
54
57
self . base . trace ( tracer_fn) ;
55
58
self . bases . trace ( tracer_fn) ;
56
59
self . mro . trace ( tracer_fn) ;
You can’t perform that action at this time.
0 commit comments