hku-ect / libsphactor

"Extended nodal actor framework based on zactor"
Other
3 stars 4 forks source link

should a publish destroy a message? #103

Open sphaero opened 7 months ago

sphaero commented 7 months ago
-            // publish the msg
+            // publish the msg, it gets destroyed
             s_publish_msg(self, pubmsg);
         }
-        zmsg_destroy( &pubmsg );

I think it should but it doesn't