Skip to content

Commit 529f4dc

Browse files
committed
Discord非起動時のエラーを修正
1 parent 49768c6 commit 529f4dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,9 @@ BOOL Update_RPC(FILTER* filterPtr, void* editPtr, int status, bool isStart) {
278278
return FALSE;
279279
}
280280
if (!IS_Disposed) {
281+
if (core == NULL) {
282+
return FALSE;
283+
}
281284
std::string detail = "";
282285
if (RPC_Display_Filename && editPtr != NULL && filterPtr != NULL) {
283286
FILE_INFO fi;

0 commit comments

Comments
 (0)