From 530fdb07ad4cca9b5c0c82274af0b15f47e01c23 Mon Sep 17 00:00:00 2001 From: Ogoun Date: Fri, 19 Apr 2019 18:00:08 +0300 Subject: [PATCH] Update Bootstrap.cs --- ZeroLevel/Services/Application/Bootstrap.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ZeroLevel/Services/Application/Bootstrap.cs b/ZeroLevel/Services/Application/Bootstrap.cs index 166393e..70d8739 100644 --- a/ZeroLevel/Services/Application/Bootstrap.cs +++ b/ZeroLevel/Services/Application/Bootstrap.cs @@ -159,10 +159,10 @@ namespace ZeroLevel } } } - try { Sheduller.Dispose(); } catch (Exception ex) { Log.Error(ex, "Dispose default sheduller error"); } - try { Log.Dispose(); } catch (Exception ex) { Log.Error(ex, "Dispose log error"); } - try { Injector.Default.Dispose(); Injector.Dispose(); } catch (Exception ex) { Log.Error(ex, "Dispose DI containers error"); } - try { service?.DisposeResources(); } catch (Exception ex) { Log.Error(ex, "Dispose service error"); } + try { Sheduller.Dispose(); } catch (Exception ex) { Log.Error(ex, "[Bootstrap] Dispose default sheduller error"); } + try { Log.Dispose(); } catch (Exception ex) { Log.Error(ex, "[Bootstrap] Dispose log error"); } + try { Injector.Default.Dispose(); Injector.Dispose(); } catch (Exception ex) { Log.Error(ex, "[Bootstrap] Dispose DI containers error"); } + try { service?.DisposeResources(); } catch (Exception ex) { Log.Error(ex, "[Bootstrap] Dispose service error"); } } } } \ No newline at end of file