mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:18:14 +00:00
Change "retain" to "ref" in various comments.
This commit is contained in:
parent
90b1354688
commit
c26e3ce86b
4 changed files with 6 additions and 6 deletions
|
@ -491,7 +491,7 @@ void WSClientConnection::handle_request(const WSAPIGetClipboardContentsRequest&)
|
|||
response.clipboard.contents_size = WSClipboard::the().size();
|
||||
|
||||
// FIXME: This is a workaround for the fact that SharedBuffers will go away if neither side is retaining them.
|
||||
// After we respond to GetClipboardContents, we have to wait for the client to retain the buffer on his side.
|
||||
// After we respond to GetClipboardContents, we have to wait for the client to ref the buffer on his side.
|
||||
m_last_sent_clipboard_content = move(shared_buffer);
|
||||
}
|
||||
post_message(response);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue