mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Usually the KeyObject would be destroyed when GC happens, but then Remove is called before GC happens, the KeyObject would be leaked forever. This fixes it by keeping KeyObject as a member of map.