Skip to content

Modular script states - #798

Merged
praydog merged 9 commits into
praydog:masterfrom
youwereeatenbyalid:Modular-Script-States
May 28, 2023
Merged

praydog merged 9 commits into
praydog:masterfrom
youwereeatenbyalid:Modular-Script-States

Conversation

@youwereeatenbyalid

Copy link
Copy Markdown
Contributor

Adjust the scriptrunner to allow for scripts to be run in isolated lua states, allowing them to be created and destroyed independently of the main scriptrunner.

@praydog
praydog merged commit cc40e60 into praydog:master May 28, 2023
dtlnor pushed a commit to dtlnor/REFramework that referenced this pull request Sep 12, 2024
* Add script-state modularity

* Add plugin access functions for script state creation and destruction

* Fix mutex lock issue on script state creation

* Testing plugin Features

* add access mutex lock

* Praydog saves the day

* Fix deadlock if state is created inside Lua lock

---------

Co-authored-by: praydog <praydog@users.noreply.github.com>
Co-authored-by: praydog <praydog@praydog.com>
andyalpa pushed a commit to andyalpa/REFramework that referenced this pull request Apr 29, 2026
* Add script-state modularity

* Add plugin access functions for script state creation and destruction

* Fix mutex lock issue on script state creation

* Testing plugin Features

* add access mutex lock

* Praydog saves the day

* Fix deadlock if state is created inside Lua lock

---------

Co-authored-by: praydog <praydog@users.noreply.github.com>
Co-authored-by: praydog <praydog@praydog.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants