Solve the crash in sample project HelloPlugins.
Merge pull request #29 from natural-law/develop

Solve the crash in sample project HelloPlugins.