Closed kb173 closed 1 year ago
A hotfix was pushed in https://github.com/boku-ilen/geodot-plugin/commit/910242285d6a2b6424d561e245bbfb28fa29e83b, but these destructor calls need to be re-implemented properly!
Fixed by smart pointers in e44a349 and proper destructor re-implementations in bdd82f1
Sometimes it would be convenient to chain Geodot calls like this:
But this produces an error: The resulting layer does not point to a valid OGRLayer, so the program crashes. A workaround is to do this:
It seems like when chaining, some destructor is called too early. I assume the dataset gets deleted, so the layer doesn't point to anything valid anymore.