diff --git a/apps/ai-game-creator-shell/src/components/game-distribution/useGameDistributionPublishForm.ts b/apps/ai-game-creator-shell/src/components/game-distribution/useGameDistributionPublishForm.ts index abee79220..3723f2953 100644 --- a/apps/ai-game-creator-shell/src/components/game-distribution/useGameDistributionPublishForm.ts +++ b/apps/ai-game-creator-shell/src/components/game-distribution/useGameDistributionPublishForm.ts @@ -386,6 +386,8 @@ export function useGameDistributionPublishForm({ publicationDraftAppliedRef.current = false; restoredDeclarationsRef.current = null; uploadedAssetCacheRef.current.clear(); + // 截图预览地址只登记在这里,没有「跟着某个 state 收」的效应;换项目时不清就会一直攒到卸载。 + revokeTrackedObjectUrls(objectUrlsRef.current); const suggestionRequestId = ++metadataSuggestionRequestRef.current; void suggestGameDistributionPublishMetadata({