Commit 8e7e8c9
committed
Fix subscription listeners key
_listeners used a string_view as key, it would point to the first
registration->field value, but once that value is gone, the reference
will point to garbage and the process will crash.
Change it to a string, the copy is harmless given the other costs of
subscription.
Closes: #1621 parent 17b8df6 commit 8e7e8c9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1002 | 1002 | | |
1003 | 1003 | | |
1004 | 1004 | | |
1005 | | - | |
| 1005 | + | |
1006 | 1006 | | |
1007 | 1007 | | |
1008 | 1008 | | |
| |||
0 commit comments