After an hour, filter out the plant material using a Fine Mesh Strainer. Gently press the plant material to remove as much oil as possible.
Then put the filtered oil back on the stove to finish cooking.
We know it's done decarboxylating when the bubbles stop forming.