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 was 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
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)).subscribeThere is no
unsubscribestatement.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
unsubscribeorpipe(take(1))statement