Skip to content

Commit

Permalink
Fixed return value bug in HistoryManager::OnMemoryPressure
Browse files Browse the repository at this point in the history
  • Loading branch information
azonenberg committed Oct 3, 2024
1 parent 75995ce commit e298120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngscopeclient/HistoryManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ bool HistoryManager::OnMemoryPressure(MemoryPressureLevel level, MemoryPressureT

//For now, only free GPU memory in case of pressure here
if(type != MemoryPressureType::Device)
return;
return false;

//Try to lock the waveform data mutex for up to 250ms
auto& mutex = m_session.GetWaveformDataMutex();
Expand Down

0 comments on commit e298120

Please sign in to comment.