Changeset 1070:6df48aba546b for src
- Timestamp:
- 12/24/22 08:39:07 (2 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/xplane.py
r1067 r1070 575 575 self._connected = False 576 576 577 def _processRequest(self, request, time, attempts ):577 def _processRequest(self, request, time, attempts, isPeriodic): 578 578 """Process the given request. 579 579 … … 605 605 if needReconnect: 606 606 with self._requestCondition: 607 self._requests.insert(0, request) 607 if not isPeriodic: 608 self._requests.insert(0, request) 608 609 self._disconnect() 609 610 return self._connect(autoReconnection = True, attempts = attempts) … … 628 629 break 629 630 630 attempts = self._processRequest(request, t, attempts )631 attempts = self._processRequest(request, t, attempts, True) 631 632 632 633 while self._connectionRequested and self._requests: … … 634 635 del self._requests[0] 635 636 636 attempts = self._processRequest(request, None, attempts )637 attempts = self._processRequest(request, None, attempts, False) 637 638 638 639 return self._connectionRequested
Note:
See TracChangeset
for help on using the changeset viewer.