summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaejeong Kim <backto.kim@samsung.com>2017-04-19 10:30:46 (GMT)
committerHaejeong Kim <backto.kim@samsung.com>2017-04-19 10:30:46 (GMT)
commitae423df2d88f5700a5711a94c267056c32b596b8 (patch)
treea8b2dec585f7afbed32a577123cb248e58a11589
parent5a1cd658eee44764e6b8645305a945db22acc0a7 (diff)
downloadlibmedia-thumbnail-ae423df2d88f5700a5711a94c267056c32b596b8.zip
libmedia-thumbnail-ae423df2d88f5700a5711a94c267056c32b596b8.tar.gz
libmedia-thumbnail-ae423df2d88f5700a5711a94c267056c32b596b8.tar.bz2
Change-Id: I251477954011600714c195ca8cadbe8708c54e66
-rwxr-xr-xserver/thumb-server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/thumb-server.c b/server/thumb-server.c
index 743d339..f7eeff0 100755
--- a/server/thumb-server.c
+++ b/server/thumb-server.c
@@ -110,6 +110,9 @@ int main(void)
thumb_dbg("Thumbnail server is shutting down...");
g_io_channel_shutdown(channel, FALSE, NULL);
g_io_channel_unref(channel);
+ /*close socket*/
+ close(sockfd);
+
_thumb_daemon_finish_jobs();
g_main_loop_unref(g_thumb_server_mainloop);