mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix listener ID clash potential
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
a615b156e6
commit
73ffad8e08
@ -39,7 +39,7 @@ export function getRequestChannelListenerInjectable<
|
||||
Response,
|
||||
>(info: GetRequestChannelListenerInjectableInfo<Channel, Request, Response>) {
|
||||
return getInjectable({
|
||||
id: `${info.channel.id}-listener`,
|
||||
id: `${info.channel.id}-listener-for-${info.handlerInjectable.id}`,
|
||||
instantiate: (di) => ({
|
||||
channel: info.channel,
|
||||
handler: di.inject(info.handlerInjectable),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user