wait() function not working properly

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

wait() function not working properly

Post by AposMus » Thu Jul 11, 2019 10:08 am

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
Cubase Pro 8.5.2
Halion 6
HSO
Padshop Pro
Dark Planet

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

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

Post by AposMus » Sun Jul 14, 2019 9:04 pm

Seems it started working properly again.
Looks like a few system restarts did the trick.
Cubase Pro 8.5.2
Halion 6
HSO
Padshop Pro
Dark Planet

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 2 guests