File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ namespace Console;
3030
3131internal static class Program
3232{
33- private static ILogger < ControlPanel > _panelLogger ;
3433 private static ControlPanel _controlPanel ;
3534 private static readonly Queue < string > Messages = new ( ) ;
3635 private static readonly object MessageLock = new ( ) ;
@@ -58,7 +57,7 @@ internal static class Program
5857 private static async Task Main ( )
5958 {
6059 XmlConfigurator . Configure (
61- LogManager . GetRepository ( Assembly . GetAssembly ( typeof ( LogManager ) ) ) ,
60+ LogManager . GetRepository ( Assembly . GetEntryAssembly ( ) ?? Assembly . GetCallingAssembly ( ) ) ,
6261 new FileInfo ( "log4net.config" ) ) ;
6362
6463 _lastConfigFilePath = Path . Combine ( Environment . CurrentDirectory , "appsettings.config" ) ;
@@ -95,8 +94,8 @@ private static async Task Main()
9594 new MenuItem ( "_Quit" , "" , ( ) =>
9695 {
9796 SaveConfigurationSettings ( _settings ) ;
98-
99- Application . RequestStop ( ) ;
97+
98+ Application . Shutdown ( ) ;
10099 } )
101100 } ) ,
102101 new MenuBarItem ( "Co_nnections" , new [ ]
Original file line number Diff line number Diff line change 2929 <PackageReference Include =" Microsoft.CSharp" Version =" 4.7.0" />
3030 <PackageReference Include =" System.Collections" Version =" 4.3.0" />
3131 <PackageReference Include =" System.Memory" Version =" 4.5.5" />
32- <<<<<<< HEAD
3332 <PackageReference Include =" System.Text.Json" Version =" 8.0.5" />
34- =======
35- <PackageReference Include =" System.Text.Json" Version =" 8.0.4" />
36- </ItemGroup >
37-
38- <ItemGroup >
3933 <PackageReference Include =" Microsoft.Extensions.Logging.Abstractions" Version =" 8.0.0" />
40- >>>>>>> origin/develop
4134 <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8.0.0" PrivateAssets =" All" />
4235 <PackageReference Include =" System.IO.Ports" Version =" 8.0.0" />
4336 </ItemGroup >
You can’t perform that action at this time.
0 commit comments