You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by sm...@apache.org on 2020/05/14 15:47:43 UTC

[incubator-nlpcraft] branch NLPCRAFT-49 created (now b9b63fc)

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

smakov pushed a change to branch NLPCRAFT-49
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git.


      at b9b63fc  NLPCRAFT-49: Probe hangs on stop.

This branch includes the following new commits:

     new b9b63fc  NLPCRAFT-49: Probe hangs on stop.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-nlpcraft] 01/01: NLPCRAFT-49: Probe hangs on stop.

Posted by sm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

smakov pushed a commit to branch NLPCRAFT-49
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git

commit b9b63fcad2a1231b5345d365c9f9e50debdc517a
Author: smakov <sm...@apache.org>
AuthorDate: Thu May 14 18:47:32 2020 +0300

    NLPCRAFT-49: Probe hangs on stop.
---
 src/main/scala/org/apache/nlpcraft/common/util/NCUtils.scala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/scala/org/apache/nlpcraft/common/util/NCUtils.scala b/src/main/scala/org/apache/nlpcraft/common/util/NCUtils.scala
index f32a8a3..a1344a4 100644
--- a/src/main/scala/org/apache/nlpcraft/common/util/NCUtils.scala
+++ b/src/main/scala/org/apache/nlpcraft/common/util/NCUtils.scala
@@ -952,9 +952,9 @@ object NCUtils extends LazyLogging {
             override def isInterrupted: Boolean = super.isInterrupted || stopped
             
             override def interrupt(): Unit = {
-                super.interrupt()
-                
                 stopped = true
+
+                super.interrupt()
             }
             
             override def run(): Unit = {