Currently, by providing a custom world provider, the Close function is called more than once (one for each dimension registered).
For LevelDB, it didn't raise an error as the doc say it allow multiple call to Close, it's not the purpose of a Close function in general.
(e.g. you opened an http connection or whatever in your provider, you expect from the Close function to close this connection)
Making the Close function called only once per world could lead to BC breaking ; an update to the documentation may therefore be necessary to clarify this point for anyone wishing to implement their own logic.
Currently, by providing a custom world provider, the Close function is called more than once (one for each dimension registered).
For LevelDB, it didn't raise an error as the doc say it allow multiple call to Close, it's not the purpose of a Close function in general.
(e.g. you opened an http connection or whatever in your provider, you expect from the Close function to close this connection)
Making the Close function called only once per world could lead to BC breaking ; an update to the documentation may therefore be necessary to clarify this point for anyone wishing to implement their own logic.