Skip to content

Commit

Permalink
single component finalizing removed
Browse files Browse the repository at this point in the history
alignment
  • Loading branch information
rex-schilasky committed May 14, 2024
1 parent 77eb296 commit d78c4d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ecal/core/include/ecal/ecal_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,6 @@ namespace eCAL

protected:
std::shared_ptr<eCAL::CServiceClientImpl> m_service_client_impl;
bool m_created;
bool m_created;
};
}
4 changes: 1 addition & 3 deletions ecal/core/include/ecal/ecal_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,9 @@ namespace eCAL
/**
* @brief Finalize eCAL API.
*
* @param components_ Defines which component to finalize (not yet supported).
*
* @return Zero if succeeded, 1 if already finalized, -1 if failed.
**/
ECAL_API int Finalize(unsigned int components_ = Init::Default);
ECAL_API int Finalize();

/**
* @brief Check eCAL initialize state.
Expand Down
4 changes: 1 addition & 3 deletions ecal/core/src/ecal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,9 @@ namespace eCAL
/**
* @brief Finalize eCAL API.
*
* @param components_ deprecated.
*
* @return Zero if succeeded, 1 if already finalized, -1 if failed.
**/
int Finalize(unsigned int /*components_*/)
int Finalize()
{
if (g_globals_ctx == nullptr) return 1;
g_globals_ctx_ref_cnt--;
Expand Down

0 comments on commit d78c4d3

Please sign in to comment.