Changeset 944:ebf5b88d3fd2 for src/mlx


Ignore:
Timestamp:
04/28/19 17:35:08 (6 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

Extra checks in the CEF code (re #347).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/cef.py

    r943 r944  
    194194        self._lastProgress = progress
    195195        if results!=SIMBRIEF_RESULT_NONE:
    196             gobject.source_remove(self._timeoutID)
     196            if self._timeoutID is not None:
     197                gobject.source_remove(self._timeoutID)
    197198            self._plan = None
    198199
    199         self._updateProgressFn(progress, results, flightInfo)
     200        if self._updateProgressFn is not None:
     201            self._updateProgressFn(progress, results, flightInfo)
    200202
    201203    def _timedOut(self):
Note: See TracChangeset for help on using the changeset viewer.