File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Rubberduck.VBEEditor/ComManagement Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ namespace Rubberduck.VBEditor.ComManagement
7
7
public static class ComMessagePumper
8
8
{
9
9
private static SynchronizationContext UiContext { get ; set ; }
10
- private static IVBERuntime Runtime { get ; set ; }
10
+ private static readonly IVBERuntime _runtime ;
11
11
12
12
public static void Initialize ( )
13
13
{
@@ -16,7 +16,7 @@ public static void Initialize()
16
16
UiContext = SynchronizationContext . Current ;
17
17
}
18
18
19
- Runtime = new VBERuntimeAccessor ( ) ;
19
+ _runtime = new VBERuntimeAccessor ( ) ;
20
20
}
21
21
22
22
/// <summary>
@@ -37,7 +37,7 @@ public static int PumpMessages()
37
37
{
38
38
CheckContext ( ) ;
39
39
40
- return Runtime . DoEvents ( ) ;
40
+ return _runtime . DoEvents ( ) ;
41
41
}
42
42
43
43
private static void CheckContext ( )
You can’t perform that action at this time.
0 commit comments