Closed Bug 352788 Opened 18 years ago Closed 17 years ago

API to control generator close hooks

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: igor, Assigned: igor)

References

Details

This is a spin-off of bug 349272.

Bug 349272 is going to hardcode in jsgc.c browser-specific scheduling  of generator "close hooks" or generators that became GC-unreachable when yielding  inside  a try block with finally statements.

It would be nice to provide an API that an embedding can use to specify own policy.
Assignee: general → igor.bukanov
Depends on: 349272
Per bug 380469 support for calling close methods of unreachable generators from GC will be removed. Thus API to control nothing is not necessary.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.