File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public virtual void Init(HttpApplication app) {
17
17
ExceptionlessClient . Default . Configuration . AddPlugin < ExceptionlessWebPlugin > ( ) ;
18
18
ExceptionlessClient . Default . Configuration . AddPlugin < IgnoreUserAgentPlugin > ( ) ;
19
19
ExceptionlessClient . Default . Configuration . Resolver . Register < ILastReferenceIdManager , WebLastReferenceIdManager > ( ) ;
20
-
20
+
21
21
_app = app ;
22
22
23
23
if ( ! GlobalFilters . Filters . Any ( f => f . Instance is ExceptionlessSendErrorsAttribute ) )
@@ -26,7 +26,7 @@ public virtual void Init(HttpApplication app) {
26
26
27
27
public void Dispose ( ) {
28
28
ExceptionlessClient . Default . Shutdown ( ) ;
29
- ExceptionlessClient . Default . RegisterHttpApplicationErrorHandler ( _app ) ;
29
+ ExceptionlessClient . Default . UnregisterHttpApplicationErrorHandler ( _app ) ;
30
30
}
31
31
}
32
32
}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public static void RegisterHttpApplicationErrorHandler(this ExceptionlessClient
37
37
}
38
38
}
39
39
40
- public static void UnregisterHttpApplicationErrorExceptionHandler ( this ExceptionlessClient client , HttpApplication app ) {
40
+ public static void UnregisterHttpApplicationErrorHandler ( this ExceptionlessClient client , HttpApplication app ) {
41
41
if ( client == null )
42
42
throw new ArgumentNullException ( nameof ( client ) ) ;
43
43
Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ public virtual void Init(HttpApplication app) {
14
14
ExceptionlessClient . Default . Configuration . AddPlugin < ExceptionlessWebPlugin > ( ) ;
15
15
ExceptionlessClient . Default . Configuration . AddPlugin < IgnoreUserAgentPlugin > ( ) ;
16
16
ExceptionlessClient . Default . Configuration . Resolver . Register < ILastReferenceIdManager , WebLastReferenceIdManager > ( ) ;
17
-
17
+
18
18
_app = app ;
19
19
}
20
20
21
21
public void Dispose ( ) {
22
22
ExceptionlessClient . Default . Shutdown ( ) ;
23
- ExceptionlessClient . Default . UnregisterHttpApplicationErrorExceptionHandler ( _app ) ;
23
+ ExceptionlessClient . Default . UnregisterHttpApplicationErrorHandler ( _app ) ;
24
24
}
25
25
}
26
26
}
You can’t perform that action at this time.
0 commit comments