The method Dispose is only called when creating or updating a data source (not really what can be inferred by its name). Since it was deleting all the connections, when adding a second data source for the same plugin, it was deleting the first connection causing the error described at https://github.com/grafana/redshift-datasource/issues/98.
The method
Dispose
is only called when creating or updating a data source (not really what can be inferred by its name). Since it was deleting all the connections, when adding a second data source for the same plugin, it was deleting the first connection causing the error described at https://github.com/grafana/redshift-datasource/issues/98.