Need to stop the roster before deleting it. Should fix bug #4017.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31013 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2009-06-12 15:19:43 +00:00
parent 4ab3fa3b5a
commit 46d4d11ff6

View File

@ -43,6 +43,7 @@ WebCamMediaAddOn::WebCamMediaAddOn(image_id imid)
WebCamMediaAddOn::~WebCamMediaAddOn()
{
fRoster->Stop();
delete fRoster;
}