mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-12 14:57:20 +00:00
[idd] transport: avoid redundant frame rebuilds
This commit is contained in:
@@ -983,8 +983,6 @@ void CTransportManager::RetryEntry(Entry& entry, uint64_t now,
|
||||
|
||||
{
|
||||
CSRWExclusiveLock entryLock(entry.lock);
|
||||
const bool frameService =
|
||||
(entry.config.services & TRANSPORT_SERVICE_FRAME) != 0;
|
||||
entry.transport.reset();
|
||||
entry.directMemory = DirectFrameBufferMemory {};
|
||||
entry.directMemoryValid = false;
|
||||
@@ -1000,8 +998,6 @@ void CTransportManager::RetryEntry(Entry& entry, uint64_t now,
|
||||
entry.frameAbsent = false;
|
||||
entry.serviceRetryAt = 0;
|
||||
Seq::Inc(entry.epoch);
|
||||
if (frameService)
|
||||
BumpFrameRev();
|
||||
}
|
||||
|
||||
if (OpenEntry(entry) != OpenResult::SUCCESS)
|
||||
|
||||
Reference in New Issue
Block a user