Improvements to documentation and error messages. (#221)

This commit is contained in:
Robert Nishihara
2017-01-19 20:27:46 -08:00
committed by Philipp Moritz
parent b3b294e3ad
commit 9bb8162621
6 changed files with 20 additions and 13 deletions
+1 -4
View File
@@ -114,10 +114,7 @@ def cleanup():
successfully_shut_down = successfully_shut_down and success
# Reset the list of processes of this type.
all_processes[process_type] = []
if successfully_shut_down:
if len(all_processes) > 0:
print("Successfully shut down Ray.")
else:
if not successfully_shut_down:
print("Ray did not shut down properly.")
def all_processes_alive(exclude=[]):