From 73453edc7d7f36e06e9329cd48d76f2ad09568f5 Mon Sep 17 00:00:00 2001 From: belljun3395 <195850@jnu.ac.kr> Date: Tue, 7 Jan 2025 16:37:55 +0900 Subject: [PATCH] =?UTF-8?q?hotfix:=20CrmEmailSendView=20#499=20=EC=BB=B4?= =?UTF-8?q?=ED=94=8C=EB=A6=BF=20=ED=95=B4=EA=B2=B0=EA=B0=84=20=EC=83=9D?= =?UTF-8?q?=EA=B8=B4=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/kotlin/com/few/crm/view/email/CrmEmailSendView.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/domain/crm/src/main/kotlin/com/few/crm/view/email/CrmEmailSendView.kt b/domain/crm/src/main/kotlin/com/few/crm/view/email/CrmEmailSendView.kt index 63c5efb73..87a4262f5 100644 --- a/domain/crm/src/main/kotlin/com/few/crm/view/email/CrmEmailSendView.kt +++ b/domain/crm/src/main/kotlin/com/few/crm/view/email/CrmEmailSendView.kt @@ -298,8 +298,7 @@ class CrmEmailSendView( expiredTime = dateTime, eventPublisher = applicationEventPublisher, ).let { - taskScheduler.schedule(it, it.expiredTime.toScheduleTime()) - applicationEventPublisher.publishEvent(it) + timeOutEventTaskManager.newSchedule(it) } } catch (e: Exception) { val alter = Notification.show(e.message, 3000, Notification.Position.MIDDLE)