core: add comment explaining event source deallocation
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 1 Jul 2021 09:06:45 +0000 (11:06 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 Jul 2021 16:15:39 +0000 (18:15 +0200)
commit0de0716e19dd6c89b4e16b076b4c9338bea87158
treeea2eaafba9e588109fbe564e78923e3c1b78c04e
parent1524315833c2655900bce2363fad46776aca8eb2
core: add comment explaining event source deallocation

Followup for bc989831e6. The original reproducer still works w/o the unref,
and doesn't work with this change.

(cherry picked from commit 13bb1ffb912cacea4041910e38674e0984ac5772)
(cherry picked from commit d82da0f04f6ebe7044f4c33b9067c17c909a8d5d)
(cherry picked from commit c15e100eec24e78bb78d4bd8c0b6ef6bdebc73d4)
src/core/service.c