mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 16:05:44 +01:00
fix closing of event subscription
This commit is contained in:
@@ -241,7 +241,7 @@ class ApiClient {
|
||||
es.addEventListener(type, listeners[type]);
|
||||
}
|
||||
|
||||
return es.close;
|
||||
return () => es.close();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user