API::Attach doesn't trash the current attached process and its modules.

develop
Petr Mrázek 2010-04-25 11:05:11 +02:00
parent abaee5ce45
commit 6268d66221
1 changed files with 4 additions and 0 deletions

@ -66,6 +66,10 @@ API::~API()
bool API::Attach()
{
if(d->p != NULL)
{
return d->p->suspend();
}
// detach all processes, destroy manager
if (d->pm == 0)
{