bugClanLib - Bugs: bug #7299, CL_DisplayWindow not being...

 
 

bug #7299: CL_DisplayWindow not being properly destructed?

Submitted by:  None
Submitted on:  Sat 17 Jan 2004 03:58:54 PM UTC  
 
Category: clanDisplaySeverity: 3 - Normal
Item Group: Crash ErrorStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 0.7.7
Operating System: WindowsPlanned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 12 Feb 2004 02:09:57 PM UTC, comment #1:

Works in 0.7.8 CVS

Kenneth Gangstoe <sphair>
Project Administrator
Sat 17 Jan 2004 03:58:54 PM UTC, original submission:

Technically, something like this should work:
---- snip ----
CL_DisplayWindow* window1 = new CL_DisplayWindow("ClanLib application", 640, 480);
delete window2;

CL_DisplayWindow* window2 = new CL_DisplayWindow("ClanLib application", 640, 480);

while (!CL_Keyboard::get_keycode(CL_KEY_ESCAPE)) {
CL_System::keep_alive(1);
}
---- snip ----

However, both windows remain on the screen.

Now, if I delete window2 instead of window1... the program actually crashes.

(Yes... I am attempting to do multiple windows... which I have working with limited sucsess... but I need to create/destroy one while another is running...)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 12 Feb 2004 02:09:57 PM UTCsphairStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1