Changeset 221011 in webkit
- Timestamp:
- Aug 22, 2017 8:46:30 AM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r221010 r221011 1 2017-08-22 Jonathan Bedard <jbedard@apple.com> 2 3 Fix leak-checking for iOS Simulators 4 https://bugs.webkit.org/show_bug.cgi?id=175735 5 6 Reviewed by David Kilzer. 7 8 Follow-up fix to r220942. _proc may be undefined. 9 10 * Scripts/webkitpy/port/server_process.py: 11 (ServerProcess._wait_for_stop): Handle case where _proc is undefined. 12 1 13 2017-08-22 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 14 -
trunk/Tools/Scripts/webkitpy/port/server_process.py
r220942 r221011 360 360 if timeout_secs: 361 361 deadline = now + timeout_secs 362 while self._proc .poll() is None and time.time() < deadline:362 while self._proc and self._proc.poll() is None and time.time() < deadline: 363 363 time.sleep(0.01) 364 if self._proc .poll() is None:364 if self._proc and self._proc.poll() is None: 365 365 _log.warning('stopping %s(pid %d) timed out, killing it' % (self._name, self._proc.pid)) 366 366 367 if self._proc .poll() is None:367 if self._proc and self._proc.poll() is None: 368 368 self._kill() 369 369 killed = True … … 371 371 372 372 # read any remaining data on the pipes and return it. 373 if not killed:373 if self._proc and not killed: 374 374 if self._use_win32_apis: 375 375 self._wait_for_data_and_update_buffers_using_win32_apis(now)
Note: See TracChangeset
for help on using the changeset viewer.