mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +00:00
IRCClient: Use NonnullRefPtr<IRCClient> throughout
To protect against mishaps during app exit teardown, make sure everyone who needs to be is a co-owner of the IRCClient object. Fixes #3451.
This commit is contained in:
parent
039e529dbe
commit
4e0df06f86
6 changed files with 35 additions and 35 deletions
|
@ -58,7 +58,7 @@ public:
|
|||
private:
|
||||
IRCQuery(IRCClient&, const String& name);
|
||||
|
||||
IRCClient& m_client;
|
||||
NonnullRefPtr<IRCClient> m_client;
|
||||
String m_name;
|
||||
RefPtr<IRCWindow> m_window;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue