Skip to content

Commit

Permalink
🦄 refactor: Apply default implementation to ~JavetInspectorClient()
Browse files Browse the repository at this point in the history
  • Loading branch information
caoccao committed Aug 20, 2024
1 parent a2b6dba commit c26cdc7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions cpp/jni/javet_inspector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ namespace Javet {
return v8Runtime->GetV8LocalContext();
}

JavetInspectorClient::~JavetInspectorClient() {
}

JavetInspectorChannel::JavetInspectorChannel(V8Runtime* v8Runtime, const jobject mV8Inspector) noexcept {
this->mV8Inspector = mV8Inspector;
this->v8Runtime = v8Runtime;
Expand Down
2 changes: 1 addition & 1 deletion cpp/jni/javet_inspector.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ namespace Javet {
void quitMessageLoopOnPause() override;
void runIfWaitingForDebugger(int contextGroupId) override;
void runMessageLoopOnPause(int contextGroupId) override;
virtual ~JavetInspectorClient();
virtual ~JavetInspectorClient() = default;
private:
bool activateMessageLoop;
jobject mV8Inspector;
Expand Down

0 comments on commit c26cdc7

Please sign in to comment.