@@ -167,22 +167,17 @@ public static void Initialize()
167
167
Initialize ( setSysArgv : true ) ;
168
168
}
169
169
170
- public static void Initialize ( bool setSysArgv = true , bool initSigs = false , ShutdownMode mode = ShutdownMode . Default , bool fromPython = false )
170
+ public static void Initialize ( bool setSysArgv = true , bool initSigs = false , ShutdownMode mode = ShutdownMode . Reload , bool fromPython = false )
171
171
{
172
172
Initialize2 ( Enumerable . Empty < string > ( ) , setSysArgv : setSysArgv , initSigs : initSigs , mode , fromPython : fromPython ) ;
173
173
}
174
174
175
- public static void Initialize ( IEnumerable < string > args , bool setSysArgv = true , bool initSigs = false , ShutdownMode mode = ShutdownMode . Default )
175
+ public static void Initialize ( IEnumerable < string > args , bool setSysArgv = true , bool initSigs = false , ShutdownMode mode = ShutdownMode . Reload )
176
176
{
177
177
if ( ! initialized )
178
178
{
179
179
InitializeLibrary ( ) ;
180
- #if ! NETSTANDARD
181
180
Initialize2 ( args , setSysArgv , initSigs , ShutdownMode . Reload ) ;
182
- #else
183
- Initialize2 ( args , setSysArgv , initSigs , ShutdownMode . Normal ) ;
184
- #endif
185
-
186
181
}
187
182
}
188
183
@@ -196,7 +191,7 @@ public static void Initialize(IEnumerable<string> args, bool setSysArgv = true,
196
191
/// interpreter lock (GIL) to call this method.
197
192
/// initSigs can be set to 1 to do default python signal configuration. This will override the way signals are handled by the application.
198
193
/// </remarks>
199
- public static void Initialize2 ( IEnumerable < string > args , bool setSysArgv = true , bool initSigs = false , ShutdownMode mode = ShutdownMode . Default , bool fromPython = false )
194
+ public static void Initialize2 ( IEnumerable < string > args , bool setSysArgv = true , bool initSigs = false , ShutdownMode mode = ShutdownMode . Reload , bool fromPython = false )
200
195
{
201
196
if ( initialized )
202
197
{
0 commit comments