- operations are useless, being related to db operations - safer for races between modules during cleanup, reported by GH #1287 (cherry picked from commit db8f664aa72a4fabc9a5f5c4b06d629fd4c8946a)
@@ -208,6 +208,8 @@ void ul_publish(ucontact_t* c, int type, void* param)
str content_type;
int error;
+ if(destroy_modules_phase()) return;
+
content_type.s= "application/pidf+xml";
content_type.len= 20;