You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #647 on September 02, 2022 16:32.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
看TcpConnection.cpp里,用runinloop时绑定函数用的this,用queueinloop用的shared_from_this,可runinloop判断如果不是同一线程也会调queueinloop,想问下runinloop为什么不用shared_from_this,按理TcpConnection用的shared_ptr应该用shared_from_this啊
Beta Was this translation helpful? Give feedback.
All reactions