cortoproject / corto

A hierarchical object store for connecting realtime machine data with web applications, historians & more
https://www.corto.io
MIT License
87 stars 14 forks source link

#638 multi-thread declareChildRecursive returns invalid object #639

Closed hendrenja closed 6 years ago

hendrenja commented 6 years ago

Update corto_declareChildRecursive to verify that the object returned from FIND was valid and declared in the current thread.

Double check that the returned object was not deleted from another thread. If the object was deleted, then call corto_declareChild_intern to finalize the declaration of the object.