forked from M-Labs/nac3
1
0
Fork 0

nac3artiq: explain delayed registration

This commit is contained in:
Sebastien Bourdeauducq 2021-10-09 15:21:20 +08:00
parent 5749141efb
commit 8b32c8270d
1 changed files with 1 additions and 0 deletions

View File

@ -286,6 +286,7 @@ impl Nac3 {
}
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);
}