diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-19 01:01:00 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-19 01:01:00 +0000 |
commit | a591b9ca86b86684f2804cedf5d0c17a3614e913 (patch) | |
tree | b60235b0a038088298aa0f5497411fcb453c424d /NxWidgets/nxwm/src/ccalibration.cxx | |
parent | 6cf694d2da5a661373a58c70e3d8e07cc8223eed (diff) | |
download | nuttx-a591b9ca86b86684f2804cedf5d0c17a3614e913.tar.gz nuttx-a591b9ca86b86684f2804cedf5d0c17a3614e913.tar.bz2 nuttx-a591b9ca86b86684f2804cedf5d0c17a3614e913.zip |
NxWM: Add a missing part of the message blocking logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4748 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/src/ccalibration.cxx')
-rw-r--r-- | NxWidgets/nxwm/src/ccalibration.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/NxWidgets/nxwm/src/ccalibration.cxx b/NxWidgets/nxwm/src/ccalibration.cxx index d93f56a47..6f5976100 100644 --- a/NxWidgets/nxwm/src/ccalibration.cxx +++ b/NxWidgets/nxwm/src/ccalibration.cxx @@ -220,13 +220,13 @@ void CCalibration::stop(void) void CCalibration::destroy(void) { - // Block any further window messages + // Make sure that the application is stopped (should already be stopped) - m_window->block(); + stop(); - // Make sure that the application is stopped + // Block any further window messages - stop(); + m_window->block(this); } /** |