소스 검색

rtl-console/amicommon: set the window's UserPort to nil before closing, as recommended

Karoly Balogh 3 년 전
부모
커밋
6146aa6eb6
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      packages/rtl-console/src/amicommon/video.pp

+ 1 - 0
packages/rtl-console/src/amicommon/video.pp

@@ -445,6 +445,7 @@ begin
       if (msg <> nil) then ReplyMsg(msg);
     until msg = nil;
     ModifyIDCMP(videoWindow,0);
+    VideoWindow^.UserPort:=nil;
     Permit();
     CloseWindow(videoWindow);
     VideoWindow := nil;