Commit 128a3f3
committed
Don't use SubMonitor when saving project in SaveManager
The migration from the IProgressMonitor to the SubMonitor done as part
of 40114d2 also converts the progress
monitor used within the InternalMonitorWrapper.
If the parent monitor is a SubMonitor, this calls beginTask() both when
the InternalMonitorWrapper is created, as well as explicitly later on.
To avoid this, switch back to create a null-safe progress monitor via
Policy.monitorFor(...).
Closes #17581 parent 14db9ea commit 128a3f3
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- resources/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
1188 | 1188 | | |
1189 | 1189 | | |
1190 | 1190 | | |
1191 | | - | |
| 1191 | + | |
1192 | 1192 | | |
1193 | 1193 | | |
1194 | 1194 | | |
| |||
0 commit comments