Skip to content

Commit 686bf82

Browse files
authored
Add CancellationException to Renderer.kt
1 parent a8a9ef4 commit 686bf82

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/commonMain/kotlin/Renderer.kt

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package quest.laxla.spock
22

3+
import kotlinx.coroutines.CancellationException
4+
35
/**
46
* @since 0.0.1-alpha.4
57
*/
@@ -10,6 +12,6 @@ public interface Renderer : Closer {
1012
*
1113
* @since 0.0.1-alpha.4
1214
*/
13-
@Throws(UnsupportedShaderException::class)
15+
@Throws(UnsupportedShaderException::class, CancellationException::class)
1416
public suspend operator fun invoke()
1517
}

0 commit comments

Comments
 (0)