소스 검색

Fixed a enum warning and documentation typo.

Sascha Zelzer 13 년 전
부모
커밋
da3a226331
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 1
      Libs/PluginFramework/ctkPluginFrameworkPrivate.cpp
  2. 1 1
      Libs/PluginFramework/ctkPluginFrameworkPrivate_p.h

+ 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.