wait() function not working properly

Use this forum for an overview of collected bugs and to report new ones.
Post Reply
AposMus
Member
Posts: 236
Joined: Fri Nov 14, 2014 11:41 am
Contact:

wait() function not working properly

Post by AposMus »

The wait function only works in onNote and onRelease.

If the wait function is called in a parameter's callback, or in a function called via the spawn() function it doesn't execute anything after the wait function.

Code: Select all

function onSwitch()
	print('Switch callback before wait')
	wait(1000)
	print('Switch callback after wait')  -- this doesn't print
end

defineParameter('Switch', nil, false, onSwitch)

function onNote(e)
	postEvent(e)
	wait(1000)
	print('onNote')
end

function onRelease(e)
	postEvent(e)
	wait(1000)
	print('onRelease')
end
Windows 10 Pro
Cubase Pro 11
Halion 6.4
HSO
Dark Planet

AposMus
Member
Posts: 236
Joined: Fri Nov 14, 2014 11:41 am
Contact:

Re: [Solved] wait() function not working properly

Post by AposMus »

Seems it started working properly again.
Looks like a few system restarts did the trick.
Windows 10 Pro
Cubase Pro 11
Halion 6.4
HSO
Dark Planet

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 2 guests