Fix client memory leak

This commit is contained in:
ziomus5555 2020-06-20 21:32:28 +02:00
parent 470b364fbc
commit 31b6185f33

View File

@ -16,7 +16,10 @@ namespace squirrowse.client
{ {
services.AddHostedService<Worker>(); services.AddHostedService<Worker>();
services.AddSingleton<IConnectionManager>(x => services.AddSingleton<IConnectionManager>(x =>
new ConnectionManager("http://squirrowse.azurewebsites.net", 80)); //keep as transient for now new ConnectionManager("http://squirrowse.azurewebsites.net", 80)); //keep as transient for now
// new ConnectionManager("http://192.168.0.13", 5000)); //keep as transient for now
}); });
} }