Change the exception handling logic
[platform/core/appfw/message-port.git] / src / message_port_local.c
index c153444..f3b8096 100644 (file)
@@ -1136,7 +1136,8 @@ out:
        if (fd_list)
                g_object_unref(fd_list);
 
-       if (ret != MESSAGE_PORT_ERROR_NONE) {
+       if (ret != MESSAGE_PORT_ERROR_NONE
+                       && ret != MESSAGE_PORT_ERROR_MAX_EXCEEDED) {
                __key_info = NULL;
                __create_port_key_info(port_info, &__key_info);