screencopy: fix screencopy frames not being cleaned up (#8017)
--------- Co-authored-by: Vaxry <vaxry@vaxry.net>
This commit is contained in:
parent
a364df4c9e
commit
0d70c44253
5 changed files with 24 additions and 15 deletions
|
|
@ -54,7 +54,7 @@ class CScreencopyFrame {
|
|||
|
||||
bool good();
|
||||
|
||||
SP<CScreencopyFrame> self;
|
||||
WP<CScreencopyFrame> self;
|
||||
WP<CScreencopyClient> client;
|
||||
|
||||
private:
|
||||
|
|
@ -92,7 +92,7 @@ class CScreencopyProtocol : public IWaylandProtocol {
|
|||
|
||||
private:
|
||||
std::vector<SP<CScreencopyFrame>> m_vFrames;
|
||||
std::vector<SP<CScreencopyFrame>> m_vFramesAwaitingWrite;
|
||||
std::vector<WP<CScreencopyFrame>> m_vFramesAwaitingWrite;
|
||||
std::vector<SP<CScreencopyClient>> m_vClients;
|
||||
|
||||
SP<CEventLoopTimer> m_pSoftwareCursorTimer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue