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
File tree
1 file changed
+2
-2
lines changed- resources/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources
1 file changed
+2
-2
lines changedLines 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