Issue Details (XML | Word | Printable)

Key: GIVE_CHALLENGE-1
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: akoller
Reporter: akoller
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
give-challenge

Tutorial NLG system sends excess messages

Created: 03/Sep/09 09:43 AM   Updated: 03/Sep/09 09:43 AM
Component/s: NLG Server
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Original Estimate: 2 hours
Original Estimate - 2 hours
Remaining Estimate: 2 hours
Remaining Estimate - 2 hours
Time Spent: Not Specified
Time Spent - Not Specified

Tags:


 Description  « Hide

If the tutorial NLG system has scheduled messages for sending when the user leaves the tutorial room, these messages will still be sent, interspersed between the messages from the new NLG system. This happens e.g. if the user ignores all messages and leaves the tutorial room straight away.

This probably happens because the DelayedSendingThread is only interrupted, not shut down. Problem might be fixable by simply replacing "interruptSendingThread()" in TutorialNlgSystem#connectionDisconnected by "currentSendingThread.shutdown()", but I've lost track of the creation and deletion of sending threads in TutorialNlgSystem, so this should be done more carefully.



There are no comments yet on this issue.