File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88// ! @version : v1.12.1
99// ! @Details : For integration info : https://github.com/sammyfreg/netImgui/wiki
1010// =================================================================================================
11- #define NETIMGUI_VERSION " 1.12.1" // Fixed a disconnect thread contention issue on socket
11+ #define NETIMGUI_VERSION " 1.12.1" // Fixed disconnect thread contention and clipboard command
1212#define NETIMGUI_VERSION_NUM 11201
1313
1414
Original file line number Diff line number Diff line change @@ -168,8 +168,11 @@ void Communications_Outgoing(RemoteClient::Client& Client)
168168 if ( Client.mPendingSend .IsReady () )
169169 {
170170 NetImgui::Internal::CmdClipboard* pClipboardCmd = Client.TakePendingClipboard ();
171- Client.mPendingSend .pCommand = pClipboardCmd;
172- Client.mPendingSend .bAutoFree = true ;
171+ if ( pClipboardCmd ){
172+ pClipboardCmd->ToOffsets ();
173+ Client.mPendingSend .pCommand = pClipboardCmd;
174+ Client.mPendingSend .bAutoFree = true ;
175+ }
173176 }
174177
175178 if ( Client.mPendingSend .IsReady () )
You can’t perform that action at this time.
0 commit comments