[Ante-cvs] SF.net SVN: ante: [487] trunk/ant/objects.cpp
Brought to you by:
roguestar191
|
From: <rog...@us...> - 2007-01-25 10:19:17
|
Revision: 487
http://svn.sourceforge.net/ante/?rev=487&view=rev
Author: roguestar191
Date: 2007-01-25 02:19:15 -0800 (Thu, 25 Jan 2007)
Log Message:
-----------
Remove fast-cgi requests related to an object when it's destroyed
Modified Paths:
--------------
trunk/ant/objects.cpp
Modified: trunk/ant/objects.cpp
===================================================================
--- trunk/ant/objects.cpp 2007-01-25 09:16:28 UTC (rev 486)
+++ trunk/ant/objects.cpp 2007-01-25 10:19:15 UTC (rev 487)
@@ -923,6 +923,7 @@
}
*/
+extern void AbortFCGI(void*ptr, void*ptr2);
object::~object() {
std::vector<object*>::iterator iter = snooping.begin(), end = snooping.end();
while(iter!=end) {
@@ -936,6 +937,7 @@
}
while(snoopers.size() != 0) snoopers.pop_back();
while(snooping.size() != 0) snooping.pop_back();
+ AbortFCGI(this,NULL);
}
bool object::Tickme() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|