2
0
forked from Ivasoft/DSView

Fix memory release issue when added protocol decoder

This commit is contained in:
DreamSourceLab
2016-03-25 14:34:06 +08:00
parent 0a6f675ff9
commit f0aff5e7ce
3 changed files with 14 additions and 11 deletions

View File

@@ -213,6 +213,8 @@ void DecoderStack::clear()
void DecoderStack::stop_decode()
{
_snapshot.reset();
if(_decode_state == Stopped)
return;