Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
df6c2a84
Commit
df6c2a84
authored
Jun 03, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Mark the process as disconnected from desktop/winstation before closing its handles.
parent
5bee8b4e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
process.c
dlls/kernel32/tests/process.c
+0
-1
process.c
server/process.c
+1
-1
No files found.
dlls/kernel32/tests/process.c
View file @
df6c2a84
...
...
@@ -1957,7 +1957,6 @@ static void test_TerminateProcess(void)
SetLastError
(
0xdeadbeef
);
ret
=
TerminateProcess
(
pi
.
hProcess
,
0
);
todo_wine
ok
(
ret
,
"TerminateProcess error %u
\n
"
,
GetLastError
());
CloseHandle
(
pi
.
hProcess
);
...
...
server/process.c
View file @
df6c2a84
...
...
@@ -628,9 +628,9 @@ static void process_killed( struct process *process )
assert
(
list_empty
(
&
process
->
thread_list
));
process
->
end_time
=
current_time
;
if
(
!
process
->
is_system
)
close_process_desktop
(
process
);
close_process_handles
(
process
);
process
->
winstation
=
0
;
process
->
desktop
=
0
;
close_process_handles
(
process
);
if
(
process
->
idle_event
)
{
release_object
(
process
->
idle_event
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment