Преглед изворни кода

HUE-558. Shell hangs if subprocess exits immediately.

Aditya Acharya пре 14 година
родитељ
комит
b7192a0bad
1 измењених фајлова са 0 додато и 2 уклоњено
  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():