forked from M-Labs/nac3
nac3artiq: explain delayed registration
This commit is contained in:
parent
5749141efb
commit
8b32c8270d
@ -286,6 +286,7 @@ impl Nac3 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn register_module(&mut self, obj: PyObject) {
|
fn register_module(&mut self, obj: PyObject) {
|
||||||
|
// Delay registration until all referenced variables are supposed to exist on the CPython side
|
||||||
self.to_be_registered.push(obj);
|
self.to_be_registered.push(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user