Make NewManager actually create a new provider #1

Merged
lunny merged 2 commits from zeripath/session:new-manager-new-provider into master 2021-09-13 06:47:32 +00:00

2 Commits

Author SHA1 Message Date
14eb9ee2f7
as per lunny
All checks were successful
continuous-integration/drone/pr Build is passing
Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-09-12 18:19:37 +01:00
e6b0458ddd
Make NewManager actually create a new provider
All checks were successful
continuous-integration/drone/pr Build is passing
The current code for NewManager means that the same provider is reinitialised
leading to a potential datarace on reinitialisation.

This PR simply causes the NewManager to reinstatiate the selected provider.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-09-12 17:12:10 +01:00