• Viktor Söderqvist's avatar
    Shared reusable client for RM_Call() (#8516) · 6122f1c4
    Viktor Söderqvist authored
    A single client pointer is added in the server struct. This is
    initialized by the first RM_Call() and reused for every subsequent
    RM_Call() except if it's already in use, which means that it's not
    used for (recursive) module calls to modules. For these, a new
    "fake" client is created each time.
    
    Other changes:
    * Avoid allocating a dict iterator in pubsubUnsubscribeAllChannels
      when not needed
    6122f1c4
module.c 366 KB