hedgewars/uFLIPC.pas
branchqmlfrontend
changeset 11418 091149424aa4
parent 11403 b894922d58cc
child 11450 0c75fa9ce340
--- a/hedgewars/uFLIPC.pas	Fri Nov 20 23:05:49 2015 +0300
+++ b/hedgewars/uFLIPC.pas	Fri Nov 20 23:56:13 2015 +0300
@@ -53,7 +53,8 @@
     while (msg.str[0] = #0) and (msg.buf = nil) do
         SDL_CondWait(cond, mut);
 
-    if msg.buf <> nil then
+    if msg.buf <> nil then 
+// FIXME is this copying really needed, the buffer is in another thread already anyway?
     begin
         tmp:= msg.buf;
         msg.buf:= GetMem(msg.len);