File tree 1 file changed +2
-2
lines changed
src/jdk.jpackage/windows/native/applauncher
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2020, 2023 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2020, 2024 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -264,7 +264,7 @@ void launchApp() {
264
264
}
265
265
JOBOBJECT_EXTENDED_LIMIT_INFORMATION jobInfo = { };
266
266
jobInfo.BasicLimitInformation .LimitFlags =
267
- JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE ;
267
+ JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE | JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK ;
268
268
if (!SetInformationJobObject (jobHandle.get (),
269
269
JobObjectExtendedLimitInformation, &jobInfo, sizeof (jobInfo))) {
270
270
JP_THROW (SysError (tstrings::any () <<
You can’t perform that action at this time.
0 commit comments