Improvements on providers loading
@inigomartinez
Submitted by Iñigo Martínez Link to original bug (#781702)
Description
Created attachment 350383 Improvements on providers loading
In order to handle properly providers at bjb-manager, their info unique_id is duplicated and providers are double referenced.
The following patch offers the following improvements on providers loading:
- Loading of providers has been improved by isolating them.
- The manager's providers hash table behaviour has also been changed:
- Keys are not freed anymore so there is no need to duplicate the providers info unique_id.
- Values are unreferenced on the hash table finalization, so providers are handled gracefully.
- Providers are inserted only when they are loaded so there is no need to remove them on abort, just unreference them in order to finalize them.
Patch 350383, "Improvements on providers loading":
0001-biji-manager-improvements-on-providers-loading.patch