PSI sics-cvs-psi-complete-tree-post-site-support

This commit is contained in:
2004-03-09 15:18:11 +00:00
committed by Douglas Clowes
parent 6373f6b0fb
commit ae77364de2
196 changed files with 8344 additions and 3485 deletions

View File

@@ -33,6 +33,8 @@
#include "nread.h"
#include "ofac.h"
#include "telnet.h"
#include "site.h"
#include "tcldrivable.h"
#include "nserver.h"
int ServerSetupInterrupt(int iPort, pNetRead pNet, pTaskMan pTasker);
@@ -290,6 +292,7 @@
char pBueffel[512];
char *pText = NULL;
SConnection *pCon = NULL;
pSite site = NULL;
/* clear all pending bullshit */
ClearExecutor(self->pExecutor);
@@ -299,7 +302,9 @@
/* shut tasker down */
TaskerDelete(&self->pTasker);
self->pTasker = NULL;
self->pReader = NULL;
/* save status */
if(!self->simMode)
{
@@ -356,6 +361,20 @@
/* Remove Status Callback */
KillStatus(NULL);
/*
kill the site data structure
*/
site = getSite();
if(site != NULL)
{
site->KillSite(site);
}
/*
kill overloaded interfaces data
*/
killTclDrivable();
/* close the List system */
LLDsystemClose();