예제 #1
0
	def _cancel(self):
		if self._main_task is not None:
			if not self._main_task.done():
				if self._main_task_cancel is not None:
					self._main_task_cancel()
					self._main_task_cancel = None
				self._main_task.cancel()
		SubProcess._cancel(self)
		self._cgroup_cleanup()
예제 #2
0
	def _cancel(self):
		SubProcess._cancel(self)
		if self._main_task is not None:
			self._main_task.done() or self._main_task.cancel()
		self._cgroup_cleanup()
예제 #3
0
 def _cancel(self):
     SubProcess._cancel(self)
     self._cgroup_cleanup()
예제 #4
0
	def _cancel(self):
		SubProcess._cancel(self)
		self._cgroup_cleanup()