Commit c8411ca8 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

snap: fix crash

clean deleted pointers

BUG: 399085
parent 0350ba72
......@@ -408,6 +408,7 @@ public:
void refreshChannels()
{
qDeleteAll(m_channels);
m_channels.clear();
auto s = m_res->snap();
for(int i=0, c=s->channelCount(); i<c; ++i) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment