mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-13 13:47:47 +02:00
fix(core): unary call event
This commit is contained in:
@ -186,7 +186,10 @@ class EventDispatcher(
|
||||
}
|
||||
|
||||
if (!event.buffer.contentEquals(buffer)) {
|
||||
param.setArg(1, ByteBuffer.wrap(event.buffer))
|
||||
param.setArg(1, ByteBuffer.allocateDirect(event.buffer.size).apply {
|
||||
put(event.buffer)
|
||||
rewind()
|
||||
})
|
||||
}
|
||||
|
||||
if (event.callbacks.size == 0) {
|
||||
|
Reference in New Issue
Block a user