{"action":"created","issue":{"url":"https://api.github.com/repos/JKISoftware/JKI-State-Machine-Objects/issues/8","repository_url":"https://api.github.com/repos/JKISoftware/JKI-State-Machine-Objects","labels_url":"https://api.github.com/repos/JKISoftware/JKI-State-Machine-Objects/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/JKISoftware/JKI-State-Machine-Objects/issues/8/comments","events_url":"https://api.github.com/repos/JKISoftware/JKI-State-Machine-Objects/issues/8/events","html_url":"https://github.com/JKISoftware/JKI-State-Machine-Objects/issues/8","id":165121065,"number":8,"title":"Best pratice for dependency init/start/stop/destroy","user":{"login":"3esmit","id":224810,"avatar_url":"https://avatars.githubusercontent.com/u/224810?v=3","gravatar_id":"","url":"https://api.github.com/users/3esmit","html_url":"https://github.com/3esmit","followers_url":"https://api.github.com/users/3esmit/followers","following_url":"https://api.github.com/users/3esmit/following{/other_user}","gists_url":"https://api.github.com/users/3esmit/gists{/gist_id}","starred_url":"https://api.github.com/users/3esmit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3esmit/subscriptions","organizations_url":"https://api.github.com/users/3esmit/orgs","repos_url":"https://api.github.com/users/3esmit/repos","events_url":"https://api.github.com/users/3esmit/events{/privacy}","received_events_url":"https://api.github.com/users/3esmit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-07-12T16:30:28Z","updated_at":"2016-07-21T03:21:47Z","closed_at":"2016-07-21T03:21:47Z","body":"I can start dependencies of actors in various ways.\r\n\r\nNested dependency management:\r\n- SMO.Main starts SMO.Sub that starts SMO.Sub.Sub (and stop. create, destroy)\r\n- SMO.Main starts self dependencies and nested dependencies (and stop. create, destroy)\r\n\r\nWhere to do this:\r\n- Overwrite onCreate/onStart/onStopped/onDestroyed\r\n- Create Actions in State Machine and create dependencies before Events: Register and start after 'Process: Sync'\r\n\r\nOr simply:\r\n- Manage all dependencies in \"run vi\"\r\n\r\nWhat is working best for me is the \"main SMO\" managing all dependencies and by overwriting the corresponding action vi. \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JKISoftware/JKI-State-Machine-Objects/issues/comments/234146588","html_url":"https://github.com/JKISoftware/JKI-State-Machine-Objects/issues/8#issuecomment-234146588","issue_url":"https://api.github.com/repos/JKISoftware/JKI-State-Machine-Objects/issues/8","id":234146588,"user":{"login":"francois-normandin","id":11728548,"avatar_url":"https://avatars.githubusercontent.com/u/11728548?v=3","gravatar_id":"","url":"https://api.github.com/users/francois-normandin","html_url":"https://github.com/francois-normandin","followers_url":"https://api.github.com/users/francois-normandin/followers","following_url":"https://api.github.com/users/francois-normandin/following{/other_user}","gists_url":"https://api.github.com/users/francois-normandin/gists{/gist_id}","starred_url":"https://api.github.com/users/francois-normandin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francois-normandin/subscriptions","organizations_url":"https://api.github.com/users/francois-normandin/orgs","repos_url":"https://api.github.com/users/francois-normandin/repos","events_url":"https://api.github.com/users/francois-normandin/events{/privacy}","received_events_url":"https://api.github.com/users/francois-normandin/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T03:21:47Z","updated_at":"2016-07-21T03:21:47Z","body":"Fixed the issue of class locking after everything stops correctly...\r\nSee this great blog article from Robert Smith:\r\nhttps://labviewcoder.com/2016/07/06/quick-tip-asynchronously-launching-vis-the-right-way/\r\n\r\nStartProcesses.vi used this pattern. I changed for non-strictly typed VI and the lock is gone in LV2013. \r\n\r\n![image](https://cloud.githubusercontent.com/assets/11728548/17010306/808bfa38-4eb7-11e6-8710-8b39632549df.png)\r\n\r\n"}}
{"actor":{"display_login":"francois-normandin"}}