Skip to content

Commit

Permalink
SplitTunnel 03: Remove unused functions
Browse files Browse the repository at this point in the history
Whey arent just used?

stack-info: PR: #9891, branch: strseb/stack/4
  • Loading branch information
strseb committed Sep 23, 2024
1 parent 4e8e163 commit d23bf39
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions src/platforms/windows/daemon/windowssplittunnel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -555,11 +555,6 @@ std::vector<uint8_t> WindowsSplitTunnel::generateProcessBlob() {
return out;
}

void WindowsSplitTunnel::close() {
CloseHandle(m_driver);
m_driver = INVALID_HANDLE_VALUE;
}

// static
SC_HANDLE WindowsSplitTunnel::installDriver() {
LPCWSTR displayName = L"Mozilla Split Tunnel Service";
Expand Down
3 changes: 0 additions & 3 deletions src/platforms/windows/daemon/windowssplittunnel.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ class WindowsSplitTunnel final {
// Deletes Rules and puts the driver into passive mode
void stop();

// Just close connection, leave state as is
void close();
void reset();
static bool detectConflict();

// States for GetState
Expand Down

0 comments on commit d23bf39

Please sign in to comment.