This is an automated email from the ASF dual-hosted git repository.

sanjeevrk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new bc1d94c  When killing process make sure to use the force mode (#2938)
bc1d94c is described below

commit bc1d94ce7909736c71bc11568a1e5ab2277a97b2
Author: Sanjeev Kulkarni <sanjee...@gmail.com>
AuthorDate: Mon Nov 5 22:54:21 2018 -0800

    When killing process make sure to use the force mode (#2938)
---
 .../main/java/org/apache/pulsar/functions/runtime/ProcessRuntime.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/ProcessRuntime.java
 
b/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/ProcessRuntime.java
index 0e4319f..d06e90f 100644
--- 
a/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/ProcessRuntime.java
+++ 
b/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/ProcessRuntime.java
@@ -162,7 +162,7 @@ class ProcessRuntime implements Runtime {
             timer.shutdown();
         }
         if (process != null) {
-            process.destroy();
+            process.destroyForcibly();
         }
         if (channel != null) {
             channel.shutdown();

Reply via email to