renderer/decoder: clean up decoders after some time
This commit is contained in:
@@ -144,6 +144,13 @@ private:
|
||||
|
||||
QVariant default_shader_;
|
||||
|
||||
QTimer decoder_clear_timer_;
|
||||
|
||||
static const int kDecoderMaximumInactivity;
|
||||
|
||||
private slots:
|
||||
void ClearOldDecoders();
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user