Skip to content

Commit

Permalink
DELIA-66510: [WPEFramework] Remove ASSERT from RELEASE build (rdkcent…
Browse files Browse the repository at this point in the history
…ral#5798)

Reason for change: resolve the compilation error for RialtoServerManager plugin
Test Procedure: Ensure the Assert Log will not show in wpeframework.log
Risks: Medium
Signed-off-by: Thamim Razith [email protected]
  • Loading branch information
tabbas651 authored Oct 16, 2024
1 parent 491028c commit ca183d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RialtoServerManager/RialtoServerManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ namespace Plugin {
_service->Unregister(&_notification);

RPC::IRemoteConnection* connection(_service->RemoteConnection(_connectionId));
uint32_t result = _object->Release();
VARIABLE_IS_NOT_USED uint32_t result = _object->Release();
ASSERT(result == Core::ERROR_DESTRUCTION_SUCCEEDED);

if (connection != nullptr) {
Expand Down

0 comments on commit ca183d9

Please sign in to comment.