** Description changed:

- A mutex remained unlocked in eC applications inheriting GuiApplication
- but not initializing the interface system.
+ A mutex was being unlocked without having ever been locked in eC
+ applications inheriting from GuiApplication but not initializing the
+ interface system.
  
  This was the case in ear. The Release() call was in the GuiApplication
  destructor, whereas the first Wait() is inside the Initialize() method,
  which is not necessarily going to be called.
  
  [Test Case]
- Run the ear executable with debugging code added to the Mutex class to notice 
the GuiApplication's lockMutex was being waited on but never released on exit.
+ Run the ear executable with debugging code added to the Mutex class to notice 
the GuiApplication's lockMutex was being released on exit but never waited on.
  
  [Regression Potential]
  This is a safe fix which has no potential for regression.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1107868

Title:
  [SRU] A mutex remained unlocked in eC applications inheriting
  GuiApplication but not initializing the interface system

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ecere-sdk/+bug/1107868/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to