Closed Bug 936893 Opened 11 years ago Closed 11 years ago

Remove webgl constructs from the cache when their owner window gets destroyed

Categories

(DevTools Graveyard :: WebGL Shader Editor, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 937627

People

(Reporter: vporof, Assigned: vporof)

Details

Attachments

(1 file)

      No description provided.
This would've been much easier if webgl constructs worked with WeakMaps. However, that's not possible yet: bug 811371 and bug 829239.

This patch ties things to window ids. When a window dies, the corresponding webgl constructs also get removed from the cache.
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attachment #829863 - Flags: review?(dcamp)
I changed my mind, I'll do bug 937627 instead to keep things sane.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Attachment #829863 - Flags: review?(dcamp)
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: