Parcourir la source

Fixed a enum warning and documentation typo.

Sascha Zelzer il y a 13 ans
Parent
commit
da3a226331

+ 2 - 1
Libs/PluginFramework/ctkPluginFrameworkPrivate.cpp

@@ -93,7 +93,8 @@ void ctkPluginFrameworkPrivate::shutdown(bool restart)
     }
     break;
   case ctkPlugin::STOPPING:
-    // Shutdown already inprogress
+    // Shutdown already inprogress, fall through
+  case ctkPlugin::UNINSTALLED:
     break;
   }
 }

+ 1 - 1
Libs/PluginFramework/ctkPluginFrameworkPrivate_p.h

@@ -62,7 +62,7 @@ public:
   void uninitSystemPlugin();
 
   /**
-   * This method starts a thread that stop this Framework,
+   * This method starts a thread that stops this Framework,
    * stopping all started plug-ins.
    *
    * <p>If the framework is not started, this method does nothing.