mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 05:23:24 -07:00
Counting the amount of surface objects, so we can see if there are multiple in memory when we have bugs.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2365 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
1a471ec77f
commit
83d244c3bf
5 changed files with 116 additions and 140 deletions
|
@ -33,6 +33,7 @@ namespace Greenshot {
|
|||
/// Description of AboutForm.
|
||||
/// </summary>
|
||||
public partial class AboutForm : BaseForm {
|
||||
private static log4net.ILog LOG = log4net.LogManager.GetLogger(typeof(AboutForm));
|
||||
public AboutForm() {
|
||||
//
|
||||
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||
|
@ -88,7 +89,8 @@ namespace Greenshot {
|
|||
default:
|
||||
return base.ProcessCmdKey(ref msg, keyData);
|
||||
}
|
||||
} catch (Exception) {
|
||||
} catch (Exception ex) {
|
||||
LOG.Error(string.Format("Error handling key '{0}'", keyData), ex);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue