Fixing tests.

This commit is contained in:
Nikolai Kochetov 2020-12-15 21:23:41 +03:00
parent 4c290996dc
commit 645e0d2c0c

View File

@ -229,10 +229,8 @@ public:
{ {
while (true) while (true)
{ {
connections.setFiber(&sink);
read_context.is_read_in_progress = true; read_context.is_read_in_progress = true;
read_context.packet = connections.receivePacketUnlocked(); read_context.packet = connections.receivePacketUnlocked(&sink);
read_context.is_read_in_progress = false; read_context.is_read_in_progress = false;
sink = std::move(sink).resume(); sink = std::move(sink).resume();