You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once DriverManager::deregister_driver() has been called on a driver that driver is in a detached state. Unfortunately there's nothing in the GDAL C API to explicit delete such a driver (if there was, I guess a potential fix would be to add a bool is_detached member to struct Driver and implement drop()), but this might imply changes in ownership/lifetime of the methods related to driver.
Another idea I considered would be to have deregister_driver() put the driver in a list of drivers that must be re-attached before calling GDALDestroyDriverManager(), but there's no guarantee DriverManager::destroy() is going to be called
The text was updated successfully, but these errors were encountered:
Once DriverManager::deregister_driver() has been called on a driver that driver is in a detached state. Unfortunately there's nothing in the GDAL C API to explicit delete such a driver (if there was, I guess a potential fix would be to add a bool is_detached member to struct Driver and implement drop()), but this might imply changes in ownership/lifetime of the methods related to driver.
Another idea I considered would be to have deregister_driver() put the driver in a list of drivers that must be re-attached before calling GDALDestroyDriverManager(), but there's no guarantee DriverManager::destroy() is going to be called
The text was updated successfully, but these errors were encountered: