{"id":18839743,"url":"https://github.com/maximbilan/watchkit-memory-leak","last_synced_at":"2025-06-29T23:37:57.667Z","repository":{"id":76126481,"uuid":"375721342","full_name":"maximbilan/WatchKit-Memory-Leak","owner":"maximbilan","description":"Example that shows memory leak in WatchKit (FB8665501)","archived":false,"fork":false,"pushed_at":"2021-06-10T14:23:30.000Z","size":806,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-29T20:40:04.444Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maximbilan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-10T14:13:24.000Z","updated_at":"2021-06-10T14:23:32.000Z","dependencies_parsed_at":"2023-02-25T05:30:38.609Z","dependency_job_id":null,"html_url":"https://github.com/maximbilan/WatchKit-Memory-Leak","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maximbilan/WatchKit-Memory-Leak","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbilan%2FWatchKit-Memory-Leak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbilan%2FWatchKit-Memory-Leak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbilan%2FWatchKit-Memory-Leak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbilan%2FWatchKit-Memory-Leak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maximbilan","download_url":"https://codeload.github.com/maximbilan/WatchKit-Memory-Leak/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbilan%2FWatchKit-Memory-Leak/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262685443,"owners_count":23348420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T02:43:57.145Z","updated_at":"2025-06-29T23:37:57.640Z","avatar_url":"https://github.com/maximbilan.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"### `WKInterfaceController.reloadRootPageControllers` has a memory leak?  (FB8665501)\n\nif you're passing more than 1 context with the same object through `reloadRootPageControllers` function in `WKInterfaceController` the passed context will never be deallocated from memory.\n\n```swift\nlet context = Context(name: \"context\")\nWKInterfaceController.reloadRootPageControllers(withNames: [\"first\", \"second\"], contexts: [context, context], orientation: .horizontal, pageIndex: 0)\n```\n![Demo!](demo1.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximbilan%2Fwatchkit-memory-leak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximbilan%2Fwatchkit-memory-leak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximbilan%2Fwatchkit-memory-leak/lists"}