Przeglądaj źródła

Set datagram to none in nonblocking read

Mark Mine 23 lat temu
rodzic
commit
cd7596fe98
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      direct/src/cluster/ClusterMsgs.py

+ 1 - 0
direct/src/cluster/ClusterMsgs.py

@@ -54,6 +54,7 @@ class ClusterMsgHandler:
                 type = CLUSTER_NONE
                 self.notify.warning("getData returned false")
         else:
+            datagram = None
             dgi = None
             type = CLUSTER_NONE
         # Note, return datagram to keep a handle on the data