mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-24 17:30:44 +02:00
style fixes
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user