summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-11-12 09:23:17 +0100
committerGitHub <noreply@github.com>2020-11-12 09:23:17 +0100
commit0bb51d5353b5cd4da0cf6887e22318f560604ec7 (patch)
tree9cb47c1f8af8c1f8ee617f907f326cbb193b77dd /doc
parent307ea716ccb4171a9b7e8693c4aab5a5751bf62f (diff)
parenta6f3ef3ac7306a887ad607fb22f8fde5defdf41e (diff)
Merge pull request #43471 from Rubonnek/ipci-not-thread-safe
Document InstancePlaceholder.create_instance not being thread-safe.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/InstancePlaceholder.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/InstancePlaceholder.xml b/doc/classes/InstancePlaceholder.xml
index 39827f6604..defd23afb1 100644
--- a/doc/classes/InstancePlaceholder.xml
+++ b/doc/classes/InstancePlaceholder.xml
@@ -18,13 +18,14 @@
<argument index="1" name="custom_scene" type="PackedScene" default="null">
</argument>
<description>
+ Not thread-safe. Use [method Object.call_deferred] if calling from a thread.
</description>
</method>
<method name="get_instance_path" qualifiers="const">
<return type="String">
</return>
<description>
- Gets the path to the [PackedScene] resource file that is loaded by default when calling [method create_instance].
+ Gets the path to the [PackedScene] resource file that is loaded by default when calling [method create_instance]. Not thread-safe. Use [method Object.call_deferred] if calling from a thread.
</description>
</method>
<method name="get_stored_values">