Fix GC problem with Module when it is GCed but re-instantiate from GlobalValue.module.
This commit is contained in:
parent
96dc907613
commit
edab81ed7e
1 changed files with 1 additions and 1 deletions
|
|
@ -46,4 +46,4 @@ class GlobalValue:
|
||||||
eraseFromParent = Method()
|
eraseFromParent = Method()
|
||||||
eraseFromParent.disowning = True
|
eraseFromParent.disowning = True
|
||||||
|
|
||||||
getParent = Method(ptr(Module))
|
getParent = Method(ownedptr(Module))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue