mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:25:07 -05:00
refclock: remove SOCK socket on exit
This commit is contained in:
@@ -120,6 +120,7 @@ static void sock_finalise(RCL_Instance instance)
|
|||||||
|
|
||||||
sockfd = (long)RCL_GetDriverData(instance);
|
sockfd = (long)RCL_GetDriverData(instance);
|
||||||
SCH_RemoveFileHandler(sockfd);
|
SCH_RemoveFileHandler(sockfd);
|
||||||
|
SCK_RemoveSocket(sockfd);
|
||||||
SCK_CloseSocket(sockfd);
|
SCK_CloseSocket(sockfd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user