Skip to content

Commit 969d095

Browse files
committed
Remove notification
1 parent 8bf67fd commit 969d095

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

FirebaseCore/Internal/Tests/Unit/HeartbeatStorageTests.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -422,15 +422,6 @@ class HeartbeatStorageTests: XCTestCase {
422422
}
423423
group.wait()
424424

425-
#if !os(macOS)
426-
// Simulate memory pressure. This will force the system to more aggressively reclaim memory.
427-
// This simulation makes the test more sensitive to potential leaks.
428-
NotificationCenter.default.post(
429-
name: UIApplication.didReceiveMemoryWarningNotification,
430-
object: UIApplication.shared
431-
)
432-
#endif // !os(macOS)
433-
434425
// Then
435426
// The `weakRefs` array's references should all be nil; otherwise, something is being
436427
// unexpectedly strongly retained.

0 commit comments

Comments
 (0)