Author: ion
Date: Sun Feb 4 00:10:08 2007
New Revision: 25708
URL:
http://svn.reactos.org/svn/reactos?rev=25708&view=rev
Log:
- Temporarily disable referencing and dereferencing the LPC mapping process since the
dereference never seems to happen, thus causing processes never to die. Now they die again
when killed/closing.
Modified:
trunk/reactos/ntoskrnl/lpc/close.c
trunk/reactos/ntoskrnl/lpc/connect.c
Modified: trunk/reactos/ntoskrnl/lpc/close.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/lpc/close.c?rev=2…
==============================================================================
--- trunk/reactos/ntoskrnl/lpc/close.c (original)
+++ trunk/reactos/ntoskrnl/lpc/close.c Sun Feb 4 00:10:08 2007
@@ -374,7 +374,7 @@
}
/* Dereference the mapping process */
- ObDereferenceObject(Port->MappingProcess);
+ //ObDereferenceObject(Port->MappingProcess);
Port->MappingProcess = NULL;
}
Modified: trunk/reactos/ntoskrnl/lpc/connect.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/lpc/connect.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/lpc/connect.c (original)
+++ trunk/reactos/ntoskrnl/lpc/connect.c Sun Feb 4 00:10:08 2007
@@ -299,7 +299,7 @@
/* Reference and remember the process */
ClientPort->MappingProcess = PsGetCurrentProcess();
- ObReferenceObject(ClientPort->MappingProcess);
+ //ObReferenceObject(ClientPort->MappingProcess);
}
else
{