mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 22:50:54 +00:00
libsysprof-capture: clear SYSPROF_CONTROL_FD
This commit is contained in:
@ -136,6 +136,8 @@ request_writer (void)
|
|||||||
if (fdstr != NULL)
|
if (fdstr != NULL)
|
||||||
peer_fd = atoi (fdstr);
|
peer_fd = atoi (fdstr);
|
||||||
|
|
||||||
|
g_unsetenv ("SYSPROF_CONTROL_FD");
|
||||||
|
|
||||||
if (peer_fd > 0)
|
if (peer_fd > 0)
|
||||||
{
|
{
|
||||||
g_autoptr(GSocket) sock = NULL;
|
g_autoptr(GSocket) sock = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user