Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danstiner committed Mar 12, 2021
1 parent 1ea4f8c commit caed328
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/FtlControlConnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ class FtlControlConnection
FtlStream* ftlStream = nullptr;
bool hmacRequested = false;
bool isAuthenticated = false;
bool mediaPortRequested = false;
bool isStreaming = false;
ftl_channel_id_t channelId = 0;
std::vector<std::byte> hmacPayload;
Expand Down
2 changes: 1 addition & 1 deletion src/FtlServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ void FtlServer::eventTerminateControlConnection(
std::move(pendingControlConnections.at(event->Connection).first);
pendingControlConnections.erase(event->Connection);
dispatchAsyncCall(
[this, event, control = std::move(control)]() mutable
[event, control = std::move(control)]() mutable
{
control->Stop(event->ResponseCode);
});
Expand Down

0 comments on commit caed328

Please sign in to comment.