Running unassigned BindableFunctions makes threads yield forever

Create a script, and put a BindableFunction inside. Then try running these three programs:

script.Function:Invoke()
print("Hello World!")

Result: Nothing appears in console. No errors, no Hello World.

game:BindToClose(function()
script.Function:Invoke()
end)

Result: Studio freezes until BindToClose times out.

status, err = pcall(function()
script.Function:Invoke()
end)
print(status, err)

Result: Again, nothing appears in console.

This topic was automatically closed after 1 minute. New replies are no longer allowed.