equal
deleted
inserted
replaced
271 } |
271 } |
272 |
272 |
273 if (Log.mOn) Log.logI("Sending shutdown notifications to listeners."); |
273 if (Log.mOn) Log.logI("Sending shutdown notifications to listeners."); |
274 ApplicationUtilsImpl.doShutdownImpl(); |
274 ApplicationUtilsImpl.doShutdownImpl(); |
275 |
275 |
|
276 String shutdownExtension = System.getProperty("jrt.shutdown.extension"); |
|
277 if (Log.mOn) Log.logI("Invoking shutdown extension: " + shutdownExtension); |
|
278 |
|
279 if (shutdownExtension != null && shutdownExtension.length() > 0) |
|
280 { |
|
281 try |
|
282 { |
|
283 Class.forName(shutdownExtension).newInstance(); |
|
284 } |
|
285 catch (Throwable t) |
|
286 { |
|
287 // no extensions |
|
288 Log.logE("Exp. whe invoking coverage data: ", t); |
|
289 } |
|
290 } |
|
291 |
276 if (Log.mOn) Log.logI("Sending close indication to runtime starter."); |
292 if (Log.mOn) Log.logI("Sending close indication to runtime starter."); |
277 _closeInd(mNativeRuntimeStarterHandle); |
293 _closeInd(mNativeRuntimeStarterHandle); |
278 |
294 |
279 |
295 |
280 if (Log.mOn) Log.logI("Short pause before closing LegacySupport."); |
296 if (Log.mOn) Log.logI("Short pause before closing LegacySupport."); |