Skip to content
  • Alexander Slobodeniuk's avatar
    aggregator: fix use-after-free in queries processing · 97e74846
    Alexander Slobodeniuk authored
    Test included.
    The problem appears when aggregator drops the query while
    it's being proccessed by the klass->sink_query handler.
    This can happen on FLUSH_START event. If the query is still
    in the queue, it can be safely dropped, but if it's already
    in the klass->sink_query() handler, then sink pad has no
    choice and has to wait for the proccessing to complete.
    
    Part-of: <!5765>
    97e74846