X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=appc-client%2Fclient-lib%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fclient%2Fimpl%2Fcore%2FTaskQueue.java;fp=appc-client%2Fclient-lib%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fclient%2Fimpl%2Fcore%2FTaskQueue.java;h=5ef7a5ef7d6f33d858e3fe37d35537def79ad058;hb=eb83cf5b1433585a2fe18ca90273046b3b4f6e2a;hp=dfceb179cdcd3bbd48da76e780f848801618f54b;hpb=b0bc41c4d4595bf661123ba06290daa6d77b1239;p=appc.git diff --git a/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/TaskQueue.java b/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/TaskQueue.java index dfceb179c..5ef7a5ef7 100644 --- a/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/TaskQueue.java +++ b/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/TaskQueue.java @@ -6,6 +6,8 @@ * ================================================================================ * Copyright (C) 2017 Amdocs * ============================================================================= + * Modifications Copyright (C) 2019 IBM + * ============================================================================= * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -50,6 +52,7 @@ class TaskQueue implements Runnable{ task.run(); } catch (InterruptedException e) { LOG.error("could not take task from queue", e); + Thread.currentThread().interrupt(); } catch (RuntimeException e) { LOG.error("could not run task", e); }