forked from rdkcentral/Thunder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LIBRARIES] Refernce counted Library COMRPC objects. (rdkcentral#1533)
* [LIBRARIES] Refernce counted Library COMRPC objects. If COMRPC objects are created through the C interface, the object itself should hold on to a reference of the library it is created from this way, the library will not be unloaded as long as there are still COMRPC object living which reside in this SO. This PR makes sure that any instance instantiated through Core::ServiceType<COMRPCOBJECTIMPL> will also grab a refenrence onto the SO it is located in. On deletion (Last reference release of the COMRPC object) this reference on the SO will be dropped as well! * Update Library.cpp * Cleanup Services.h
- Loading branch information
Showing
3 changed files
with
92 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters