Procházet zdrojové kódy

HUE-558. Shell hangs if subprocess exits immediately.

Aditya Acharya před 14 roky
rodič
revize
b7192a0bad
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  1. 0 2
      apps/shell/src/shell/shellmanager.py

+ 0 - 2
apps/shell/src/shell/shellmanager.py

@@ -447,8 +447,6 @@ class ShellManager(object):
       for key, shell_instance in self._shells.iteritems():
         if shell_instance.last_output_sent or shell_instance.remove_at_next_iteration:
           keys_to_pop.append(key)
-        elif shell_instance.subprocess.poll() is not None:
-          keys_to_pop.append(key)
         else:
           difftime = current_time - shell_instance.time_received
           if difftime >= shell.conf.SHELL_TIMEOUT.get():