meta: updated tests, CR_UNLOAD isn't passed on close
This commit is contained in:
@@ -42,10 +42,10 @@ CR_EXPORT int cr_main(cr_plugin *ctx, cr_op operation) {
|
||||
static_cast<userdata *>(ctx->userdata)->any = 42;
|
||||
break;
|
||||
case CR_UNLOAD:
|
||||
tear_down();
|
||||
// nothing to do here, this is only a test.
|
||||
break;
|
||||
case CR_CLOSE:
|
||||
// nothing to do here, this is only a test.
|
||||
tear_down();
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user