Hi Robert,

sorry this went unnoticed/uncommitted for so long.

o Szokovacs Robert on 11/08/2012 12:18 PM:
> Hi,
> 
> I noticed if I put multiple plugin factories in the same .so, SEMS
> handles them fine, every one of them is loaded and accounted for, but
> their onLoad() function is not called, only for the last one (in the
> order of the loading, as written in the source code). The attached
> patch fixes this issue.
that patch is already an improvement.

In fact, I think it would be altogether cleaner and simpler if just
one on_load function would be called per module, and that function the
module would call onLoad of the factories, and then the factories
would register themselves (AmPlugIn::registerApplication,
registerDIInterface etc).

Stefan

> 
> br
> 
> Szo
> 
> 
> _______________________________________________
> Semsdev mailing list
> [email protected]
> http://lists.iptel.org/mailman/listinfo/semsdev
> 

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to