Fix manager bug (can't destroy a session while a thread is using it!)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-09-29 20:37:01 +00:00
parent 8e4697d8f2
commit 2b883819be
2 changed files with 11 additions and 16 deletions

View File

@@ -82,6 +82,8 @@ struct mansession {
int fd;
/*! Whether or not we're busy doing an action */
int busy;
/*! Whether or not we're "dead" */
int dead;
/*! Logged in username */
char username[80];
/*! Authentication challenge */