This repository was archived by the owner on Feb 24, 2025. It is now read-only.
Commit f8b9fa5
authored
Fix VPN memory pressure monitor (#3535)
Task/Issue URL: https://app.asana.com/0/414235014887631/1208695924903429/f
Tech Design URL:
CC:
Description:
This PR fixes the memory pressure monitor. Previously, the memory source and queue were not being retained in any way, so they would deallocate instantly. Now, the memory source and queue are kept as properties on the packet tunnel provider.1 parent 76b1f76 commit f8b9fa5
File tree
1 file changed
+23
-18
lines changed- PacketTunnelProvider/NetworkProtection
1 file changed
+23
-18
lines changedLines changed: 23 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
482 | 490 | | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
| 491 | + | |
500 | 492 | | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
501 | 504 | | |
502 | | - | |
503 | 505 | | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
504 | 509 | | |
505 | 510 | | |
506 | 511 | | |
| |||
0 commit comments