Skip to content

Commit b73d567

Browse files
committed
clean up window
1 parent 5d45035 commit b73d567

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Demo/DemoTests/Helpers/Snapshotting+WindowImage.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ extension Snapshotting where Value: UIViewController, Format == UIImage {
1717
callback(image)
1818
UIView.setAnimationsEnabled(true)
1919
}
20+
window.removeFromSuperview()
2021
}
2122
}
2223
}

0 commit comments

Comments
 (0)