Reply To: [Bug] Async graph loading incompatible with object pooling?

NodeCanvas Forums Support [Bug] Async graph loading incompatible with object pooling? Reply To: [Bug] Async graph loading incompatible with object pooling?

#15199
guyboots_thunderbro
Participant

Hmm. It’s a problem in the sense that NodeCanvas has to be specially handled by the pooling code, for both retrieving from the pool and returning to the pool. Also a problem if I want to use one of these objects outside the pool.

> – The Graph async loading is completed.

Is there a spot in the code where this is confirmed? EG, “Okay, I just finished loading the graph, let me continue on…” I’d like to modify the code at this point to check and see if the owner is active in the hierachery before actually starting the graph. That way it works seamlessly under the hood, and pooling code doesn’t need to be aware of its particulars.