libsysprof-capture: clear SYSPROF_CONTROL_FD

This commit is contained in:
Christian Hergert
2020-02-18 13:17:33 -08:00
parent 4cfb51421b
commit 20f7c271ca

View File

@ -136,6 +136,8 @@ request_writer (void)
if (fdstr != NULL)
peer_fd = atoi (fdstr);
g_unsetenv ("SYSPROF_CONTROL_FD");
if (peer_fd > 0)
{
g_autoptr(GSocket) sock = NULL;