mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
This is causing a crash if self._application is used before the __init__ has finished (or at least passed the definition of self._application). That can happen in this class since some functions are called asynchronously. It would also make writing tests easier because you can mock the getInstance() function to return a mock object, and only need to monkeypatch that for the function under test rather than also for the constructor. Fixes Sentry issue CURA-1B5. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| Cura.proto | ||
| CuraEngineBackend.py | ||
| plugin.json | ||
| ProcessGCodeJob.py | ||
| ProcessSlicedLayersJob.py | ||
| StartSliceJob.py | ||