File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ public void ValidateRefCount()
213
213
Runtime . Runtime . XIncref ( e . Handle ) ;
214
214
return false ;
215
215
} ;
216
- Finalizer . Instance . IncorrectRefCntResovler += handler ;
216
+ Finalizer . Instance . IncorrectRefCntResolver += handler ;
217
217
try
218
218
{
219
219
ptr = CreateStringGarbage ( ) ;
@@ -223,7 +223,7 @@ public void ValidateRefCount()
223
223
}
224
224
finally
225
225
{
226
- Finalizer . Instance . IncorrectRefCntResovler -= handler ;
226
+ Finalizer . Instance . IncorrectRefCntResolver -= handler ;
227
227
}
228
228
}
229
229
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public IncorrectRefCountException(IntPtr ptr)
75
75
}
76
76
77
77
public delegate bool IncorrectRefCntHandler ( object sender , IncorrectFinalizeArgs e ) ;
78
- public event IncorrectRefCntHandler IncorrectRefCntResovler ;
78
+ public event IncorrectRefCntHandler IncorrectRefCntResolver ;
79
79
public bool ThrowIfUnhandleIncorrectRefCount { get ; set ; } = true ;
80
80
81
81
#endregion
@@ -304,9 +304,9 @@ private void ValidateRefCount()
304
304
ImpactedObjects = indexer [ handle ]
305
305
} ;
306
306
bool handled = false ;
307
- if ( IncorrectRefCntResovler != null )
307
+ if ( IncorrectRefCntResolver != null )
308
308
{
309
- var funcList = IncorrectRefCntResovler . GetInvocationList ( ) ;
309
+ var funcList = IncorrectRefCntResolver . GetInvocationList ( ) ;
310
310
foreach ( IncorrectRefCntHandler func in funcList )
311
311
{
312
312
if ( func ( this , args ) )
You can’t perform that action at this time.
0 commit comments