You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
Describe the bug
The autogenerated plugin does not unsubscribe from an observable subscription
To Reproduce
Steps to reproduce the behavior:
Create a new plugin vcd-ext new ...
Take a loook at the autogenerated code: this.client.query(Query.Builder.ofType("organization").links(false)).subscribe
There is no unsubscribe statement.
Although this is a demo code and most probably it is going to be replaced by the plugin writer it is not goot to suggest code with memory leaks.
There should be either unsubscribe or pipe(take(1)) statement
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
The autogenerated plugin does not unsubscribe from an observable subscription
To Reproduce
Steps to reproduce the behavior:
vcd-ext new ...
this.client.query(Query.Builder.ofType("organization").links(false)).subscribe
There is no
unsubscribe
statement.Although this is a demo code and most probably it is going to be replaced by the plugin writer it is not goot to suggest code with memory leaks.
There should be either
unsubscribe
orpipe(take(1))
statementThe text was updated successfully, but these errors were encountered: