Skip to content

Commit d460ac7

Browse files
committed
Workspace: FileViewer: do not release info operation info lables for root viewer.
1 parent ea6dbce commit d460ac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Applications/Workspace/Viewers/FileViewer.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ - (void)dealloc
454454

455455
// Processes holds list of labels for FileViewers.
456456
// This message removes local copy of label from Processes' list
457-
if ([operationInfo retainCount] > 1) {
457+
if ([operationInfo retainCount] > 1 && [rootPath isEqualToString:@"/"] == NO) {
458458
[processManager releaseBackInfoLabel:operationInfo];
459459
}
460460
TEST_RELEASE(lock);

0 commit comments

Comments
 (0)