mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-28 15:14:09 +02:00
style fixes
This commit is contained in:
parent
913346c23d
commit
7448e16b76
@ -39,6 +39,7 @@ ProcessHandleImpl::~ProcessHandleImpl()
|
||||
closeHandle();
|
||||
}
|
||||
|
||||
|
||||
void ProcessHandleImpl::closeHandle()
|
||||
{
|
||||
if (_hProcess)
|
||||
@ -48,6 +49,7 @@ void ProcessHandleImpl::closeHandle()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
UInt32 ProcessHandleImpl::id() const
|
||||
{
|
||||
return _pid;
|
||||
|
@ -40,6 +40,7 @@ ProcessHandleImpl::~ProcessHandleImpl()
|
||||
closeHandle();
|
||||
}
|
||||
|
||||
|
||||
void ProcessHandleImpl::closeHandle()
|
||||
{
|
||||
if (_hProcess)
|
||||
@ -49,6 +50,7 @@ void ProcessHandleImpl::closeHandle()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
UInt32 ProcessHandleImpl::id() const
|
||||
{
|
||||
return _pid;
|
||||
@ -298,7 +300,8 @@ void ProcessImpl::killImpl(PIDImpl pid)
|
||||
throw SystemException("cannot kill process");
|
||||
}
|
||||
CloseHandle(hProc);
|
||||
} else
|
||||
}
|
||||
else
|
||||
{
|
||||
switch (GetLastError())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user