This is an automated email from the ASF dual-hosted git repository.
lkishalmi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new ec5e578 [NETBEANS-2036] Close out and err streams when Gradle build
process finished.
ec5e578 is described below
commit ec5e5785ddefc5db623ed0f3845b75b5286ae446
Author: Laszlo Kishalmi <[email protected]>
AuthorDate: Sat Feb 9 20:12:18 2019 -0800
[NETBEANS-2036] Close out and err streams when Gradle build process
finished.
---
.../src/org/netbeans/modules/gradle/execute/GradleDaemonExecutor.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/groovy/gradle/src/org/netbeans/modules/gradle/execute/GradleDaemonExecutor.java
b/groovy/gradle/src/org/netbeans/modules/gradle/execute/GradleDaemonExecutor.java
index 26f15a2..ccfe5f7 100644
---
a/groovy/gradle/src/org/netbeans/modules/gradle/execute/GradleDaemonExecutor.java
+++
b/groovy/gradle/src/org/netbeans/modules/gradle/execute/GradleDaemonExecutor.java
@@ -171,6 +171,9 @@ public final class GradleDaemonExecutor extends
AbstractGradleExecutor {
//TODO: Handle Cancelled builds
// We just swallow BUILD FAILED exception silently
} finally {
+ BuildExecutionSupport.registerFinishedItem(item);
+ ioput.getOut().close();
+ ioput.getErr().close();
if (pconn != null) {
pconn.close();
}
@@ -190,7 +193,6 @@ public final class GradleDaemonExecutor extends
AbstractGradleExecutor {
handle.finish();
markFreeTab();
actionStatesAtFinish();
- BuildExecutionSupport.registerFinishedItem(item);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists