Skip to content

Commit

Permalink
mobile: fixing internal engine 'destructor'
Browse files Browse the repository at this point in the history
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
  • Loading branch information
alyssawilk committed Feb 6, 2024
1 parent 3164f06 commit c6c8af0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mobile/library/common/internal_engine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ envoy_status_t InternalEngine::terminate() {

bool InternalEngine::isTerminated() const { return terminated_; }

InternalEngine::InternalEngine() {
InternalEngine::~InternalEngine() {
if (!terminated_) {
terminate();
}
Expand Down
2 changes: 1 addition & 1 deletion mobile/library/common/internal_engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class InternalEngine : public Logger::Loggable<Logger::Id::main> {
/**
* InternalEngine destructor.
*/
InternalEngine();
~InternalEngine();

/**
* Run the engine with the provided configuration.
Expand Down

0 comments on commit c6c8af0

Please sign in to comment.