Mantis - Quercus
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Severity:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
2417 |
|
minor |
always |
02-08-08 02:10 |
09-11-08 10:24 |
|
Reporter:
|
Carl Lobo |
Platform:
|
|
|
Assigned To:
|
ferg |
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
closed |
Product Version:
|
3.1.5 |
|
Product Build:
|
|
Resolution:
|
fixed |
|
Projection:
|
none |
|
|
|
ETA:
|
none |
Fixed in Version:
|
3.2.1 |
|
|
Summary:
|
0002417: Destructors not run on PHP classes |
Description:
|
Destructors (__destruct) methods aren't run when the page is destroyed.
Attached patch works for me - it runs the destructors when a top level page has completed execution, this should be close enough to the mainstream php interpreter. |
Steps To Reproduce:
|
|
Additional Information:
|
|
Relationships | |
Attached Files:
|
destructors.diff [^] (10,159 bytes) 02-08-08 02:10 |