Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions aether/stream_api/unidirectional_gate.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ class ParallelGate final : public ByteIGate {
: write_gate_{std::move(write_gate)},
read_gate_{std::move(read_gate)},
write_gate_update_{write_gate_.gate_update_event().Subscribe(
gate_update_event_, MethodPtr<&GateUpdateEvent::Emit>{})},
read_gate_update_{read_gate_.gate_update_event().Subscribe(
gate_update_event_, MethodPtr<&GateUpdateEvent::Emit>{})} {}

ActionView<StreamWriteAction> Write(DataBuffer&& data,
Expand All @@ -72,7 +70,6 @@ class ParallelGate final : public ByteIGate {
TReadGate read_gate_;
GateUpdateEvent gate_update_event_;
Subscription write_gate_update_;
Subscription read_gate_update_;
};
} // namespace ae

Expand Down
1 change: 1 addition & 0 deletions aether/transport/low_level/tcp/win_tcp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ WinTcpTransport::WinTcpTransport(ActionContext action_context,
: action_context_{action_context},
poller_{std::move(poller)},
endpoint_{endpoint},
socket_{INVALID_SOCKET},
socket_packet_queue_manager_{action_context_},
read_overlapped_{{}, EventType::kRead},
write_overlapped_{{}, EventType::kWrite} {
Expand Down