Merge pull request #43471 from Rubonnek/ipci-not-thread-safe

Document InstancePlaceholder.create_instance not being thread-safe.
This commit is contained in:
Rémi Verschelde 2020-11-12 09:23:17 +01:00 committed by GitHub
commit 0bb51d5353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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">