Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!husc4!hadeishi From: hadeishi@husc4.UUCP Newsgroups: comp.sys.amiga Subject: Closing windows with shared IDCMP (was: How tell window active?) Message-ID: <1299@husc6.UUCP> Date: Wed, 25-Feb-87 21:53:34 EST Article-I.D.: husc6.1299 Posted: Wed Feb 25 21:53:34 1987 Date-Received: Fri, 27-Feb-87 23:31:39 EST References: <8702252244.AA19996@cory.Berkeley.EDU> Sender: news@husc6.UUCP Reply-To: hadeishi@husc4.UUCP (mitsuharu hadeishi) Organization: Harvard Univ. Science Center Lines: 12 If you are using a shared IDCMP port you must clean out the UserPort of all messages pertaining to the window before closing the window. This turns out to be the cause of the mysterious crashes in my program. The same effect is accomplished by periodically flushing the input buffer, as I am currently doing as a temporary fix. This may well be the cause of mysterious crashes in many PD programs that seems to crash when you do a lot of mouse clicks. This was reported in the April 1986 developer's newsletter. -Mitsu